-
Notifications
You must be signed in to change notification settings - Fork 10
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
🫐 🐛 Operator gets stuck with bad configurations #196
Comments
So this is a bit nastier than I thought. I was under the impression that we could just yet redpanda-operator/src/go/k8s/internal/controller/redpanda/redpanda_controller.go Lines 523 to 527 in 72ba3d3
For reference, this is how to set force but it doesn't really do anything given the operator's behavior. chartRef:
upgrade:
force: true I'd vote to change the behavior to just always update the helm release regardless of it's existing status as that'll prevent users from fixing forward. @RafalKorepta WDYT? |
Agree with you @chrisseto |
Fixed in #227 |
What happened?
Whenever a configuration change results in a redpanda pod falling into an unschedulable or crashloop state. It is impossible to correct the situation by only fixing the CR values. The values are taking but they are not reconciled by the operator and the statefulset remains using the wrong configuration.
See screen recording in: https://redpandadata.slack.com/archives/C01H6JRQX1S/p1723752154395579?thread_ts=1723751900.722069&cid=C01H6JRQX1S
What did you expect to happen?
If we make mistakes configuring container resources and/or limits in the Redpanda Custom Resource (CR), or any other configuration resulting in a broker crashlooping. We want to be able to correct it through the Redpanda CR and see the change instantly applied by the operator. No delays.
How can we reproduce it (as minimally and precisely as possible)?. Please include values file.
Anything else we need to know?
No response
Which are the affected charts?
Operator
Chart Version(s)
5.9.0
Cloud provider
JIRA Link: K8S-323
JIRA Link: K8S-324
The text was updated successfully, but these errors were encountered: