Updating docs to reflect graduation of setHostnameAsFQDN feature to GA. KEP PR: kubernetes/enhancements#2641, Kubernetes PR: kubernetes/kubernetes#101294

This commit is contained in:
Javier Diaz-Montes
2021-06-09 13:44:36 -04:00
parent d8f4b5c161
commit e16b64c43e
2 changed files with 4 additions and 3 deletions
@@ -196,7 +196,7 @@ record unless `publishNotReadyAddresses=True` is set on the Service.
### Pod's setHostnameAsFQDN field {#pod-sethostnameasfqdn-field}
{{< feature-state for_k8s_version="v1.20" state="beta" >}}
{{< feature-state for_k8s_version="v1.22" state="stable" >}}
When a Pod is configured to have fully qualified domain name (FQDN), its hostname is the short hostname. For example, if you have a Pod with the fully qualified domain name `busybox-1.default-subdomain.my-namespace.svc.cluster-domain.example`, then by default the `hostname` command inside that Pod returns `busybox-1` and the `hostname --fqdn` command returns the FQDN.