• Kubernetes Submit Queue's avatar
    Merge pull request #35739 from foxish/migrating-the-annotation · 49f1aa06
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Making the pod.alpha.kubernetes.io/initialized annotation optional in PetSet pods
    
    **What this PR does / why we need it**: As of now, the absence of the annotation `pod.alpha.kubernetes.io/initialized` in PetSets causes the PetSet controller to effectively "pause". Being a debug hook, users expect that its absence has no effect on the working of a PetSet. This PR inverts the logic so that we let the PetSet controller operate as expected in the absence of the annotation.
    Letting the annotation remain alpha seems ok. Renaming it to something more meaningful needs further discussion.
    
    **Which issue this PR fixes** _(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)_: fixes https://github.com/kubernetes/kubernetes/issues/35498
    
    **Special notes for your reviewer**: 
    
    **Release note**:
    
    ``` release-note
    The annotation "pod.alpha.kubernetes.io/initialized" on StatefulSets (formerly PetSets) is now optional and only encouraged for debug use.
    ```
    
    cc @erictune @smarterclayton @bprashanth @kubernetes/sig-apps 
    @kow3ns The examples will need to be cleaned up as well I think later on to remove them.
    49f1aa06
Name
Last commit
Last update
..
certificates Loading commit data...
daemon Loading commit data...
deployment Loading commit data...
disruption Loading commit data...
endpoint Loading commit data...
garbagecollector Loading commit data...
informers Loading commit data...
job Loading commit data...
namespace Loading commit data...
node Loading commit data...
petset Loading commit data...
podautoscaler Loading commit data...
podgc Loading commit data...
replicaset Loading commit data...
replication Loading commit data...
resourcequota Loading commit data...
route Loading commit data...
scheduledjob Loading commit data...
service Loading commit data...
serviceaccount Loading commit data...
volume Loading commit data...
.import-restrictions Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
client_builder.go Loading commit data...
controller_ref_manager.go Loading commit data...
controller_utils.go Loading commit data...
controller_utils_test.go Loading commit data...
doc.go Loading commit data...
lookup_cache.go Loading commit data...