Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

CreatedByAnnotation is deprecated in 1.9 #163

Closed
chino opened this issue Jan 10, 2018 · 3 comments
Closed

CreatedByAnnotation is deprecated in 1.9 #163

chino opened this issue Jan 10, 2018 · 3 comments
Labels

Comments

@chino
Copy link

chino commented Jan 10, 2018

See: kubernetes/kubernetes#54445

Hence the updater ends up killing it self before it gets a chance to issue the reboot. This causes it to go into an endless loop of setting the node schedulable and unschedulable and killing any pods that land on the node.

To confirm I faked an annotation and it seems to be rebooting nodes now:

kubectl -n reboot-coordinator annotate pods -l app=container-linux-update-agent --overwrite kubernetes.io/created-by='{"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"DaemonSet","namespace":"reboot-coordinator","name":"container-linux-update-agent","uid":"5ef034e0-1890-11e6-8935-42010af0003e","apiVersion":"v1","resourceVersion":"427339"}}'
@dghubble
Copy link
Member

dghubble commented Jan 12, 2018

I can reproduce this on my v1.9.1 clusters. Missed it in 1.9 testing since I manually forced updates across all clusters as part of Meltdown mitigations.

@dghubble
Copy link
Member

dghubble commented Jan 13, 2018

Impact is serious because Kubernetes 1.9 clusters with CLUO aren't applying Container Linux updates. Open-source users and downstream Tectonic users will need to get the patched version of CLUO. Impact on workloads is mostly mitigated, pods shift as nodes are marked unscheduable one at a time.

I have an initial patch in #164

@dghubble dghubble added the bug label Jan 13, 2018
@dghubble
Copy link
Member

Fixed in quay.io/coreos/container-linux-update-operator:v0.5.0. Thanks for the report!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants