docs(health checks): remove the unnecessary indentation (#5805)

The pod manifest in it's `httpHeaders` has unnecessary indentation,
removed that.
This commit is contained in:
Suraj Deshmukh
2017-10-08 20:48:11 +05:30
committed by Steve Perry
parent 14972390ee
commit eb4ce6ab1a
6 changed files with 12 additions and 16 deletions
@@ -118,8 +118,8 @@ spec:
path: /healthz path: /healthz
port: 8080 port: 8080
httpHeaders: httpHeaders:
- name: X-Custom-Header - name: X-Custom-Header
value: Awesome value: Awesome
initialDelaySeconds: 15 initialDelaySeconds: 15
timeoutSeconds: 1 timeoutSeconds: 1
name: liveness name: liveness
@@ -6,20 +6,16 @@ metadata:
name: liveness-http name: liveness-http
spec: spec:
containers: containers:
- name: liveness - name: liveness
args: args:
- /server - /server
image: gcr.io/google_containers/liveness image: gcr.io/google_containers/liveness
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /healthz path: /healthz
port: 8080 port: 8080
httpHeaders: httpHeaders:
- name: X-Custom-Header - name: X-Custom-Header
value: Awesome value: Awesome
initialDelaySeconds: 3 initialDelaySeconds: 3
periodSeconds: 3 periodSeconds: 3
@@ -208,8 +208,8 @@ spec:
path: /healthz path: /healthz
port: 8080 port: 8080
httpHeaders: httpHeaders:
- name: X-Custom-Header - name: X-Custom-Header
value: Awesome value: Awesome
initialDelaySeconds: 15 initialDelaySeconds: 15
timeoutSeconds: 1 timeoutSeconds: 1
name: liveness name: liveness
@@ -15,7 +15,7 @@ spec:
path: /healthz path: /healthz
port: 8080 port: 8080
httpHeaders: httpHeaders:
- name: X-Custom-Header - name: X-Custom-Header
value: Awesome value: Awesome
initialDelaySeconds: 3 initialDelaySeconds: 3
periodSeconds: 3 periodSeconds: 3
@@ -18,8 +18,8 @@ spec:
path: /healthz path: /healthz
port: liveness-port port: liveness-port
httpHeaders: httpHeaders:
- name: X-Custom-Header - name: X-Custom-Header
value: Awesome value: Awesome
initialDelaySeconds: 15 initialDelaySeconds: 15
timeoutSeconds: 1 timeoutSeconds: 1
name: liveness name: liveness
+2 -2
View File
@@ -14,8 +14,8 @@ spec:
path: /healthz path: /healthz
port: 8080 port: 8080
httpHeaders: httpHeaders:
- name: X-Custom-Header - name: X-Custom-Header
value: Awesome value: Awesome
initialDelaySeconds: 15 initialDelaySeconds: 15
timeoutSeconds: 1 timeoutSeconds: 1
name: liveness name: liveness