Documentation ¶
Index ¶
Constants ¶
View Source
const ( // The annotation value is a string specifying the hostname to be used for the pod e.g 'my-webserver-1' PodHostnameAnnotation = "pod.beta.kubernetes.io/hostname" // The annotation value is a string specifying the subdomain e.g. "my-web-service" // If specified, on the the pod itself, "<hostname>.my-web-service.<namespace>.svc.<cluster domain>" would resolve to // the pod's IP. // If there is a headless service named "my-web-service" in the same namespace as the pod, then, // <hostname>.my-web-service.<namespace>.svc.<cluster domain>" would be resolved by the cluster DNS Server. PodSubdomainAnnotation = "pod.beta.kubernetes.io/subdomain" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.