From 14aef879febbb54a86fac8c7cc2c6e7d133c7772 Mon Sep 17 00:00:00 2001 From: "yanrong.shi" Date: Mon, 20 Jun 2022 02:47:49 +0800 Subject: [PATCH] Update configure-liveness-readiness-startup-probes.md --- .../configure-liveness-readiness-startup-probes.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/zh-cn/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md b/content/zh-cn/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md index 422f60a351..254c0c0049 100644 --- a/content/zh-cn/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md +++ b/content/zh-cn/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md @@ -709,14 +709,14 @@ case, you should not use `host`, but rather set the `Host` header in `httpHeader 针对 HTTP 探针,kubelet 除了必需的 `Host` 头部之外还发送两个请求头部字段: -`User-Agent` 和 `Accept`。这些头部的默认值分别是 `kube-probe/{{ skew latestVersion >}}` -(其中 `{{< skew latestVersion >}}` 是 kubelet 的版本号)和 `*/*`。 +`User-Agent` 和 `Accept`。这些头部的默认值分别是 `kube-probe/{{ skew currentVersion >}}` +(其中 `{{< skew currentVersion >}}` 是 kubelet 的版本号)和 `*/*`。 你可以通过为探测设置 `.httpHeaders` 来重载默认的头部字段值;例如: