You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part of the cause of #48327 is that the StatefulSet controller attempts to set the v1.PodSpec .Hostname and v1.PodSpec.Subdomain fields. Though the alpha annotations corresponding to these fields were mutable, and the though the endpoints controller could create new endpoints based on the mutation of these fields, kubelet does not seem sensitive to their mutation, and mutation of the fields is not supported in the v1.PodSpec API object.
BUG REPORT:
/kind bug
The text was updated successfully, but these errors were encountered:
Automatic merge from submit-queue (batch tested with PRs 51102, 50712, 51037, 51044, 51059)
fix#51043
**What this PR does / why we need it**: The StatefulSet controller no longer attempts to mutate "hostname" or "subdomain" fields of the "pod.spec" to enforce the network identity of Pods in a StatefeulSet. Since these fields are set upon creation and immutable thereafter setting the annotations is no longer necessary.
fixes: #51043
Automatic merge from submit-queue
Manual cherrypick of #51043
StatefulSet controller no longer attempts to mutate v1.PodSpec.Hostname or v1.PodSpec.Subdomain
fixes: #51043
Partial fix for #48327
Manual cherrypick of #51044
```release-note
StatefulSet: Fix "forbidden pod updates" error on Pods created prior to upgrading to 1.7. (#48327)
```
Part of the cause of #48327 is that the StatefulSet controller attempts to set the v1.PodSpec .Hostname and v1.PodSpec.Subdomain fields. Though the alpha annotations corresponding to these fields were mutable, and the though the endpoints controller could create new endpoints based on the mutation of these fields, kubelet does not seem sensitive to their mutation, and mutation of the fields is not supported in the v1.PodSpec API object.
BUG REPORT:
/kind bug
The text was updated successfully, but these errors were encountered: