Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
StatefulSet PODs Not Getting Deleted After Helm Upgrade
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- After helm upgrade the statefulset gets upgraded but POD were not re-created
Environment
- Platform9 Managed Kubernetes -- All version
Cause
- Statefuset
updateStrategyis set to "OnDelete" - The Statefulset 'upgradeStrategy' field is set to type 'OnDelete'
Bash
xxxxxxxxxxupdateStrategy: type: OnDelete volumeClaimTemplates: - apiVersion: v1 kind: PersistentVolumeClaim metadata: creationTimestamp: null name: imcdiamstorageResolution
- There are two ways to overcome this issue
- Delete the statefulset's POD's manually after helm upgrade
- Set the 'upgradeStrategy' field to type 'RollingUpgrade'
Additional Information
- Check Kubernetes Documentation for StatefulSet Upgrade Strategy
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message