Skip to content

Commit 80501c8

Browse files
Update keps/sig-node/1797-configure-fqdn-as-hostname-for-pods/README.md
Co-authored-by: Sergey Kanzhelev <[email protected]>
1 parent 8c78dc7 commit 80501c8

File tree

1 file changed

+1
-1
lines changed
  • keps/sig-node/1797-configure-fqdn-as-hostname-for-pods

1 file changed

+1
-1
lines changed

keps/sig-node/1797-configure-fqdn-as-hostname-for-pods/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ This might be a good place to talk about core concepts and how they relate.
366366
The hostname field of the Linux Kernel is limited to 64 bytes
367367
(see [sethostname(2)](http://man7.org/linux/man-pages/man2/sethostname.2.html)), while most Kubernetes resource types require a name as defined in [RFC 1123](https://tools.ietf.org/html/rfc1123), which limits them to 63 bytes. Kubernetes attempts to include the Pod name as hostname, unless this limit is reached. When the limit is reached, Kubernetes has a series of mechanisms
368368
to deal with the issue. These include, truncating Pod hostname when a “Naked” Pod name is longer than 63 bytes, and
369-
having an alternative way of generating Pod names when they are part of a Controller, like a Deployment. When the proposed feature is in used, users might hit the 64 Bytes kernel hostname limit. Without any remediation, Kubernetes will fail to create the Pod Sandbox and the pod will remain in “ContainerCreating” (Pending status) forever. The feature proposed here will make this issue occur more frequently, as now the whole FQDN would be limited to 64 bytes. Next we illustrate the issue with an example of a potential error message:
369+
having an alternative way of generating Pod names when they are part of a Controller, like a Deployment. Without any remediation, users might hit the 64 bytes kernel hostname limit, and Kubernetes will fail to create the Pod Sandbox and the pod will remain in “ContainerCreating” (Pending status) forever. The feature proposed here will make this issue occur more frequently, as now the whole FQDN would be limited to 64 bytes. Next we illustrate the issue with an example of a potential error message:
370370

371371
```bash
372372
$ kubectl get pod

0 commit comments

Comments
 (0)