-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing configOverrides doesn't restart NiFi pods #531
Comments
Thanks for the feedback. This is known behavior. Someone will get back to you tomorrow morning. Sorry about that. |
@lfrancke The docs are already improved in the nightly version, there it already shows that the configOverrides go below |
Hi @chris922, many thanks for your feedback! we are aware of changing ConfigMaps/Secrets not resulting in a Pod restart. We actually have a solution for this, the restart-controller. Regarding the docs for |
Affected version
23.7
Current and expected behavior
When I add a
configOverrides
entry to theNifiCluster
resource the config-map-node-default
will get updated, but as the pod doesn't restart the update doesn't have any effect.I would expect that the operator ensures the pod will be restarted, so that the new config override will be active.
Possible solution
I think that's a usual issue with Kubernetes apps that ConfigMaps will be updated but the updates are not reflected inside the pod. There are several solutions available, e. g. kustomize appends a kind of hash to the ConfigMap name and has to update the deployment with the new name to force a restart of the pods.
I don't have any explicit solution here.
Additional context
No extra context, but the documentation is also a bit hard to understand in this regards (https://docs.stackable.tech/home/stable/nifi/usage_guide/configuration-environment-overrides). I was not sure where to put the
configOverrides
properties.. Looking at the CRD I found out I have to put it belownodes
.Environment
Client Version: v1.27.3
Kustomize Version: v5.0.1
Server Version: v1.26.8+k3s1
Stackable Version 23.7
NiFi product version: 1.21.0
Would you like to work on fixing this bug?
None
The text was updated successfully, but these errors were encountered: