We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e0037e commit d9872bbCopy full SHA for d9872bb
1 file changed
apps/v1alpha1/collaset_types.go
@@ -66,6 +66,9 @@ const (
66
// HostnamePolicyPodName sets the pod's hostname to the pod name.
67
// This requires namingStrategy.podNamingSuffixPolicy to be PersistentSequence,
68
// as the pod name must be deterministic before creation.
69
+ // The resulting pod name must also be a valid Kubernetes hostname label:
70
+ // a single RFC 1123 DNS label containing no dots and no more than 63 characters.
71
+ // Otherwise the Pod will be rejected by the API server when the hostname is set.
72
HostnamePolicyPodName HostnamePolicyType = "PodName"
73
)
74
0 commit comments