From 2300a3e0fe1e682eb2b89ddb45af8f458eb9eda9 Mon Sep 17 00:00:00 2001 From: Hugo Fonseca <1098293+fonsecas72@users.noreply.github.com> Date: Thu, 12 Nov 2020 15:47:40 +0000 Subject: [PATCH] HTTP Probe - Update documentation about default headers --- .../configure-liveness-readiness-startup-probes.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md b/content/en/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md index cdbcddb5d0..0384ff8dbb 100644 --- a/content/en/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md +++ b/content/en/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md @@ -381,9 +381,9 @@ and the Pod's `hostNetwork` field is true. Then `host`, under `httpGet`, should to 127.0.0.1. If your pod relies on virtual hosts, which is probably the more common case, you should not use `host`, but rather set the `Host` header in `httpHeaders`. -For an HTTP probe, the kubelet sends three request headers in addition to the mandatory `Host` header: -`User-Agent`, `Accept-Encoding` and `Accept`. The default values for these headers are `kube-probe/{{< skew latestVersion >}}` -(where `{{< skew latestVersion >}}` is the version of the kubelet ), `gzip` and `*/*` respectively. +For an HTTP probe, the kubelet sends two request headers in addition to the mandatory `Host` header: +`User-Agent`, and `Accept`. The default values for these headers are `kube-probe/{{< skew latestVersion >}}` +(where `{{< skew latestVersion >}}` is the version of the kubelet ), and `*/*` respectively. You can override the default headers by defining `.httpHeaders` for the probe; for example