Skip to content
Discussion options

You must be logged in to vote

spec.upgrade.force should use the Replace strategy according to this doc:

	// Force forces resource updates through a replacement strategy.
	// +optional
	Force bool `json:"force,omitempty"`

Were you able to get this working?

It does, which means a different thing than delete and recreate – replace is patch, which still cannot update immutable fields. (differs from kubectl replace --force which actually does a delete and recreate when needed)

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@kingdonb
Comment options

@Nicola-Sergio
Comment options

@stefanprodan
Comment options

@mnaser
Comment options

@Nicola-Sergio
Comment options

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