Merge pull request #272 from chaosky/patch-1

update liveness image
pull/274/head
Jimmy Song 2018-08-21 16:46:15 +08:00 committed by GitHub
commit 6f4ea7ac7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -96,7 +96,7 @@ spec:
containers: containers:
- args: - args:
- /server - /server
image: gcr.io/google_containers/liveness image: k8s.gcr.io/liveness
livenessProbe: livenessProbe:
httpGet: httpGet:
# when "host" is not defined, "PodIP" will be used # when "host" is not defined, "PodIP" will be used
@ -106,8 +106,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
@ -159,4 +159,4 @@ spec:
原文地址https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/ 原文地址https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/
翻译:[rootsongjc](https://github.com/rootsongjc) 翻译:[rootsongjc](https://github.com/rootsongjc)