Skip to content
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 keeps recreating sts / restarting pods (environment does not match) #1

Open
bumarcell opened this issue Nov 19, 2024 · 2 comments

Comments

@bumarcell
Copy link

Thanks a lot for your work, it has benefited us a lot.

We do have one problem tho, which might be caused by some operator bug, but I thought I would ask here;
After having added log-exporter sidecare (including the NODE_NAME env from fieldRef, the operator keeps recreating the statefulset with every reconciliation after show the following log:
level=info msg="reason: new statefulset containers's log-exporter (index 2) environment does not match the current one" cluster-name=test-postgres pkg=cluster

Removing the env definition from sidecar stops this behavior.

Have you seen this before?

@stephan2012
Copy link
Owner

No, I haven't seen this behavior before. But I'm not entirely up to date with the recent operator release. I'm keeping this issue in mind when updating.

@bumarcell
Copy link
Author

bumarcell commented Nov 19, 2024

Not the latest, we use Zalando operator version 1.11.0 patched with customizable securityContext for postgres containers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants