coreos / container-linux-update-operator

A Kubernetes operator to manage updates of Container Linux by CoreOS
Apache License 2.0
209 stars 49 forks source link

CLUO doesn't work on k8s 1.16 #196

Open betermieux opened 5 years ago

betermieux commented 5 years ago

Since DaemonSets are moved from 'extensions/v1beta1' to 'apps/v1', the agent doesn't exclude itself from node draining anymore and kills itself before calling reboot. This results in a continuously draining and repopulating node. The culprit seems to be: https://github.com/coreos/container-linux-update-operator/blob/4bb1486f482bc9c365c71e126129e806b5a0fc97/pkg/drain/drain.go#L74 If I find some time, I will send a pull-request.

sdlarsen commented 5 years ago

As a work-around (while waiting for #197), it's possible to enable serving of the deprecated resource names by adding this to the api-server: --runtime-config=extensions/v1beta1/daemonsets=true

mleklund commented 4 years ago

Having this issue as well.