From 3628c5ac6211e12d6e5a719fe28cd27464a95320 Mon Sep 17 00:00:00 2001 From: chaosky Date: Tue, 21 Aug 2018 16:41:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AB=98=E7=BA=A7=20liveness=20=E6=8E=A2?= =?UTF-8?q?=E9=92=88=E7=A4=BA=E4=BE=8B=E4=BD=BF=E7=94=A8=E5=AE=98=E6=96=B9?= =?UTF-8?q?=E6=9C=80=E6=96=B0=20yaml=20=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- concepts/pod-lifecycle.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/concepts/pod-lifecycle.md b/concepts/pod-lifecycle.md index 54d56b8f0..b74704f74 100644 --- a/concepts/pod-lifecycle.md +++ b/concepts/pod-lifecycle.md @@ -96,7 +96,7 @@ spec: containers: - args: - /server - image: gcr.io/google_containers/liveness + image: k8s.gcr.io/liveness livenessProbe: httpGet: # when "host" is not defined, "PodIP" will be used @@ -106,8 +106,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 @@ -159,4 +159,4 @@ spec: 原文地址:https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/ -翻译:[rootsongjc](https://github.com/rootsongjc) \ No newline at end of file +翻译:[rootsongjc](https://github.com/rootsongjc)