Why update spec.config.data does not take effect? #1012
Unanswered
swechencheng
asked this question in
Q&A
Replies: 2 comments 3 replies
-
|
In my case on config.data update I also do some env changes to force restart, but the operator creates an entirely new cluster How. to avoid this? operator: 2.2.3 emqx: 5.3.0 |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Hi, @rtechencheng Sorry for delay, I just finished my vacation. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am using emqx-operator to deploy the nodes:
After I did the first
kubectl apply, everything works fine.Then I am trying to follow this guide to change config via
spec.config.data, e,.g., fromlog.console_handler.level = debugtolog.console_handler.level = infoBut nothing seems to happen after
kubectl apply.I have read configuration overrides rule and I don't use environment variable to override settings.
And I also checked
kubectl exec emqx-core-574784d758-0 -- cat /opt/emqx/etc/emqx.confand I see no change afterkubectl applywithlog.console_handler.level = info.I have configured one core and one replicant. I have tried both emqx-operator 2.2.3 and 2.2.14.
But
/opt/emqx/etc/emqx.confnever gets updated after Ikubectl applywithspec.config.datachanges.Could anyone help me to understand why?
Is it possible if I insist to use
spec.config.datafor changing configuration, will emqx-operator take care of the rest afterkubectl apply?Thanks in advance!
BR/Chencheng
Beta Was this translation helpful? Give feedback.
All reactions