From eb4ce6ab1a8b37dc5cff2bec0b228ed6ccbffc38 Mon Sep 17 00:00:00 2001 From: Suraj Deshmukh Date: Sun, 8 Oct 2017 20:48:11 +0530 Subject: [PATCH] docs(health checks): remove the unnecessary indentation (#5805) The pod manifest in it's `httpHeaders` has unnecessary indentation, removed that. --- cn/docs/concepts/workloads/pods/pod-lifecycle.md | 4 ++-- cn/docs/tasks/configure-pod-container/http-liveness.yaml | 8 ++------ docs/concepts/workloads/pods/pod-lifecycle.md | 4 ++-- docs/tasks/configure-pod-container/http-liveness.yaml | 4 ++-- docs/user-guide/liveness/http-liveness-named-port.yaml | 4 ++-- docs/user-guide/liveness/http-liveness.yaml | 4 ++-- 6 files changed, 12 insertions(+), 16 deletions(-) diff --git a/cn/docs/concepts/workloads/pods/pod-lifecycle.md b/cn/docs/concepts/workloads/pods/pod-lifecycle.md index 076c5f8fad..8420f318bc 100644 --- a/cn/docs/concepts/workloads/pods/pod-lifecycle.md +++ b/cn/docs/concepts/workloads/pods/pod-lifecycle.md @@ -118,8 +118,8 @@ spec: path: /healthz port: 8080 httpHeaders: - - name: X-Custom-Header - value: Awesome + - name: X-Custom-Header + value: Awesome initialDelaySeconds: 15 timeoutSeconds: 1 name: liveness diff --git a/cn/docs/tasks/configure-pod-container/http-liveness.yaml b/cn/docs/tasks/configure-pod-container/http-liveness.yaml index 8485e3444e..6381ab3d1a 100644 --- a/cn/docs/tasks/configure-pod-container/http-liveness.yaml +++ b/cn/docs/tasks/configure-pod-container/http-liveness.yaml @@ -6,20 +6,16 @@ metadata: name: liveness-http spec: containers: - - name: liveness - args: - /server - image: gcr.io/google_containers/liveness - livenessProbe: httpGet: path: /healthz port: 8080 httpHeaders: - - name: X-Custom-Header - value: Awesome + - name: X-Custom-Header + value: Awesome initialDelaySeconds: 3 periodSeconds: 3 diff --git a/docs/concepts/workloads/pods/pod-lifecycle.md b/docs/concepts/workloads/pods/pod-lifecycle.md index 01986e993f..8f3f62dcb8 100644 --- a/docs/concepts/workloads/pods/pod-lifecycle.md +++ b/docs/concepts/workloads/pods/pod-lifecycle.md @@ -208,8 +208,8 @@ spec: path: /healthz port: 8080 httpHeaders: - - name: X-Custom-Header - value: Awesome + - name: X-Custom-Header + value: Awesome initialDelaySeconds: 15 timeoutSeconds: 1 name: liveness diff --git a/docs/tasks/configure-pod-container/http-liveness.yaml b/docs/tasks/configure-pod-container/http-liveness.yaml index c1be66c5ba..1d05e49163 100644 --- a/docs/tasks/configure-pod-container/http-liveness.yaml +++ b/docs/tasks/configure-pod-container/http-liveness.yaml @@ -15,7 +15,7 @@ spec: path: /healthz port: 8080 httpHeaders: - - name: X-Custom-Header - value: Awesome + - name: X-Custom-Header + value: Awesome initialDelaySeconds: 3 periodSeconds: 3 diff --git a/docs/user-guide/liveness/http-liveness-named-port.yaml b/docs/user-guide/liveness/http-liveness-named-port.yaml index 80b17e06db..782dfbe339 100644 --- a/docs/user-guide/liveness/http-liveness-named-port.yaml +++ b/docs/user-guide/liveness/http-liveness-named-port.yaml @@ -18,8 +18,8 @@ spec: path: /healthz port: liveness-port httpHeaders: - - name: X-Custom-Header - value: Awesome + - name: X-Custom-Header + value: Awesome initialDelaySeconds: 15 timeoutSeconds: 1 name: liveness diff --git a/docs/user-guide/liveness/http-liveness.yaml b/docs/user-guide/liveness/http-liveness.yaml index c2c6065450..0f574509e9 100644 --- a/docs/user-guide/liveness/http-liveness.yaml +++ b/docs/user-guide/liveness/http-liveness.yaml @@ -14,8 +14,8 @@ spec: path: /healthz port: 8080 httpHeaders: - - name: X-Custom-Header - value: Awesome + - name: X-Custom-Header + value: Awesome initialDelaySeconds: 15 timeoutSeconds: 1 name: liveness