Skip to content

Commit 6f4ea7a

Browse files
authored
Merge pull request #272 from chaosky/patch-1
update liveness image
2 parents e28ec11 + 3628c5a commit 6f4ea7a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

concepts/pod-lifecycle.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ spec:
9696
containers:
9797
- args:
9898
- /server
99-
image: gcr.io/google_containers/liveness
99+
image: k8s.gcr.io/liveness
100100
livenessProbe:
101101
httpGet:
102102
# when "host" is not defined, "PodIP" will be used
@@ -106,8 +106,8 @@ spec:
106106
path: /healthz
107107
port: 8080
108108
httpHeaders:
109-
- name: X-Custom-Header
110-
value: Awesome
109+
- name: X-Custom-Header
110+
value: Awesome
111111
initialDelaySeconds: 15
112112
timeoutSeconds: 1
113113
name: liveness
@@ -159,4 +159,4 @@ spec:
159159

160160
原文地址:https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/
161161

162-
翻译:[rootsongjc](https://github.com/rootsongjc)
162+
翻译:[rootsongjc](https://github.com/rootsongjc)

0 commit comments

Comments
 (0)