diff --git a/build/docs/content/08-liveness.md b/build/docs/content/08-liveness.md new file mode 100644 index 00000000..5da45771 --- /dev/null +++ b/build/docs/content/08-liveness.md @@ -0,0 +1,11 @@ +--- +title: Liveness +--- + +Gotenberg provides the endpoint `/ping` for checking the API availability with +a simple `GET` request. + +This feature is especially useful for liveness/readiness probes in Kubernetes: + +* [Pod lifecycle](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes) +* [Configure Liveness and Readiness Probes](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/) \ No newline at end of file diff --git a/build/docs/content/08-links.md b/build/docs/content/09-links.md similarity index 100% rename from build/docs/content/08-links.md rename to build/docs/content/09-links.md diff --git a/docs/index.html b/docs/index.html index adc5874b..5c51a69a 100755 --- a/docs/index.html +++ b/docs/index.html @@ -54,6 +54,10 @@ Scalability +
The API will be available under
@@ -695,7 +699,7 @@ $filename = $client->store($request, $dirPath);gotenberg:3000in your Docker Compose network.FROM thecodingmachine/gotenberg:3 RUN apt-get -y install yourfonts -+ @@ -834,7 +838,7 @@ $resp = $client->post($request); gotenberg: image: thecodingmachine/gotenberg:3 - +You may now launch your services using:
@@ -846,6 +850,22 @@ redirect a request to a Gotenberg container according to the round-robin strateg +++Liveness
+Gotenberg provides the endpoint
+ +/pingfor checking the API availability with +a simpleGETrequest.This feature is especially useful for liveness/readiness probes in Kubernetes:
+ + + +