k3s/pkg/controller
Kubernetes Submit Queue 49f1aa0632 Merge pull request #35739 from foxish/migrating-the-annotation
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.
2016-11-02 09:58:00 -07:00
..
certificates include multiple versions in clientset 2016-10-29 13:30:47 -07:00
daemon include multiple versions in clientset 2016-10-29 13:30:47 -07:00
deployment Merge pull request #35471 from caesarxuchao/client-gen-multi-versions 2016-10-29 15:40:13 -07:00
disruption include multiple versions in clientset 2016-10-29 13:30:47 -07:00
endpoint Rename PetSet API to StatefulSet 2016-10-27 17:25:10 -07:00
garbagecollector Replace negotiation with a new method that can extract info 2016-10-28 11:30:11 -04:00
informers Update bazel build files 2016-10-31 11:13:44 -04:00
job include multiple versions in clientset 2016-10-29 13:30:47 -07:00
namespace Fix potential panic in namespace controller when rapidly create/delete namespace of same name 2016-10-25 13:51:27 -04:00
node Merge pull request #35235 from foxish/node-controller-no-force-deletion 2016-11-01 20:08:57 -07:00
petset Flipping behavior when annotation is absent. 2016-10-31 12:49:11 -07:00
podautoscaler include multiple versions in clientset 2016-10-29 13:30:47 -07:00
podgc addressing comments. 2016-10-27 13:30:04 -07:00
replicaset include multiple versions in clientset 2016-10-29 13:30:47 -07:00
replication include multiple versions in clientset 2016-10-29 13:30:47 -07:00
resourcequota quota controller uses informers if available for pod calculation 2016-10-31 11:38:22 -04:00
route autogenerated 2016-10-21 17:32:32 -07:00
scheduledjob Merge pull request #35420 from soltysh/sj_replace_fix 2016-10-30 05:08:43 -07:00
service include multiple versions in clientset 2016-10-29 13:30:47 -07:00
serviceaccount convert SA controller to shared informers 2016-10-27 15:44:46 -04:00
volume include multiple versions in clientset 2016-10-29 13:30:47 -07:00
.import-restrictions add import restrictions 2016-10-13 16:10:24 -07:00
BUILD include multiple versions in clientset 2016-10-29 13:30:47 -07:00
OWNERS
client_builder.go move watch.ListWatchUntil to its own package to avoid future import cycle 2016-10-30 13:14:20 -07:00
controller_ref_manager.go fix tests; convert IsPodActive to operate on *Pod 2016-08-17 13:05:37 -07:00
controller_utils.go Fix typos 2016-10-15 00:21:00 +03:00
controller_utils_test.go remove testapi.Default.GroupVersion 2016-10-07 10:10:54 -04:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
lookup_cache.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00