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

prevent prometheus sts update loop #2987

Merged
merged 1 commit into from
Jan 30, 2020

Conversation

pgier
Copy link
Contributor

@pgier pgier commented Jan 29, 2020

Changes in kubernetes v1.17 cause an update loop due to validation
errors cause by setting the 'apiVersion' and 'kind' fields in the
StatefulSet spec. These two fields are set to empty strings by
the Kube API server, and v1.17 added validation that does not
allow these fields to be modified.

Fixes #2950

Changes in kubernetes v1.17 cause an endless update loop due
to validation errors cause by setting the 'apiVersion' and
'kind' fields in the StatefulSet spec.  These two fields are
set to empty strings by the Kube API server, and v1.17 added
validation that does not allow these fields to be modified.

See prometheus-operator#2950
@brancz brancz merged commit 3f487a4 into prometheus-operator:master Jan 30, 2020
@brancz
Copy link
Contributor

brancz commented Jan 30, 2020

Very nice find. It’d say let’s do a release with this change?

@lilic
Copy link
Contributor

lilic commented Jan 30, 2020

I would suggest to do a patch fix release v0.34.1 and v0.35.1, thoughts @brancz @pgier

@brancz
Copy link
Contributor

brancz commented Jan 31, 2020

Doing a 0.35.1 sgtm I don’t think we really have to do a patch release for 0.34 as well.

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

Successfully merging this pull request may close these issues.

prometheus-operator repeatedly deletes prometheus StatefulSet once pods reach ContainerCreating
3 participants