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
Cannot add serviceAccount to Prometheus object #444
Comments
Unfortunately modifying fields of the If you think we shouldn't error in this case, I can offer to add the Wdyt? |
Is re-creating Prometheus StatefulSet an option? |
That's exactly what I don't want to build into the codebase today. From what I can tell, StatefulSet upgrades are being released for 1.7. And 1.7 release is targeted for today 🎉 |
Ah great! Let's keep it open for a day, until I'll roll out 1.7 and would confirm that the new setup is WAI? |
@farcaller any update? |
Yep, sorry, just did an upgrade to 1.7 and had to fight a few other breakages. So, if I go a transition from no I'm not sure if that's a StatefulSet bug in k8s or an expected behaviour, but from my prometheus-operator user standpoint, I see it as a prometheus-operator bug (i.e. it didn't take the manual churn of killing the old pod for me). |
Expected behavior. Stateful sets currently do not do any upgrading at this point. We do it instead in the operator but only on a small selection of changes we know we can do safely. |
I agree that this is something that the Prometheus Operator needs to handle, however, it's part of a larger story of rolling out any changes to the StatefulSet and its PodTemplate. Therefore closing this in favor of #49 as it captures the higher level problem that we want to tackle. We'll track this further there. Thanks for reporting and following up @farcaller. Greatly appreciated! |
What did you do?
Tried to enable rbac, following up after erros in prometheus pod console by adding:
to my
object.
What did you expect to see?
Prometheus is restarted and works as expected with no errors.
What did you see instead? Under which circumstances?
Prometheus isn't restarted. Prometheus opreator is stuck.
Environment
kubeadm
n/a
The text was updated successfully, but these errors were encountered: