Open AdheipSingh opened 3 years ago
isn't that already done by ignored
flag , https://github.com/druid-io/druid-operator/blob/master/apis/druid/v1alpha1/druid_types.go#L33
nice ! wasn't aware of this. will check this out. can doc this in once confirmed its working :)
While rolling new version of operators OR even updating CR's, there are times when we want to stop reconcilation and just check how k8s behaves. Can be N number of cases where a user wants to pause reconcilation and resume.
Currently in case a user needs to pause reconcilation, need to scale operator deployment down each time.
Druid operator can have an annotation
druid.apache.org/pause-reconcilation: true
, we can check for this annotation in reconcilation loop and just return nil in case it exists, maybe log and send event too :)Can be called outside the deployDruid() or the start of deployDruid()
Further this can also be improved on pausing reconcilation on certain runtime.objects.
@himanshug @nishantmonu51