Skip to content

Flux restarting pods again after rolling restart #2755

Answered by stefanprodan
jwerre asked this question in Q&A
Discussion options

You must be logged in to vote

Flux does a rollback of any kubectl edits in-cluster, kubectl rollout restart deployment adds an annotation that Flux removes, so Kubernetes sees the removal and restarts the deployment a 2nd time. All manual edits must be using kubectl --field-manager=flux-client-side-apply docs here: https://fluxcd.io/docs/faq/#why-are-kubectl-edits-rolled-back-by-flux

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@stefanprodan
Comment options

@beasteers
Comment options

@stefanprodan
Comment options

@beasteers
Comment options

@matheuscscp
Comment options

Answer selected by jwerre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants