Hello!, I am using flink operator, and I would lik...
# troubleshooting
f
Hello!, I am using flink operator, and I would like to know if is posible to observe and detect changes in case a configmap o secret is updated
p
Do you mean by changing the configmap/secrets and the operator restarting JM and TMs?
f
Correct
p
I think the operator has an option for this but only for operator specific configurations. You could use some k8s tricks to force a restart depending if the resource was edited tho. IIRC I did something like this in the past.
f
hello, thx for the answer, uhmm, can you share me pls some references or docs to investigate? thanks in advance for your help
a
Hey @Fabrizzio Chavez, I think this is what @Pedro Mázala mentioned > I think the operator has an option for this but only for operator specific configurations. You can add
restartNonce
to spec. Set a different value to this field to trigger a restart and Flink cluster will be restarted even without any spec changes https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/custom-resource/job-management/#application-restarts-without-spec-change