bookingcom / shipper

Kubernetes native multi-cluster canary or blue-green rollouts using Helm
Apache License 2.0
733 stars 39 forks source link

Clean up the ClusterClientStore when the unschedulabvle field on a Cluster object is set to true #335

Closed parhamdoustdar closed 4 years ago

parhamdoustdar commented 4 years ago

Right now, the client that the ClusterClientStore caches lives even though a Cluster object is marked unschedulable. We need to return a different error when a Cluster object is marked unschedulable, so that the controllers can be aware of it and remove the relevant items off their queues.