Problem
When Kubernetes nodes are recreated during redeployment, Helm charts can fail to roll out due to image pulling issues, causing Terraform deployments to timeout. This was observed in PR #3125.
Observed behavior:
- Keycloak Helm chart (and others) enter failed state when new nodes can't pull Bitnami images due to repository changes
- Terraform deployment times out waiting for Helm chart rollout
force_update=true doesn't resolve the issue as expected
- Manual intervention required: deleting failed Helm charts in k9s and redeploying
Root cause:
- Bitnami Docker image repository has changed and the old repository no longer exists
Affected charts:
- Keycloak Helm chart
- MinIO Helm chart (conda-store related)
- PostgreSQL Helm chart (conda-store related)
- MinIO Loki Helm chart
Proposed solutions
For the next release, we should address this through one of:
- Documentation: Add troubleshooting guide for users experiencing this issue during redeployment
- Automation: Implement logic to detect and delete failed Helm charts before redeploying
- Configuration: Improve Helm chart resilience during node recreation (e.g., better image pull policies, retry mechanisms)
References
Problem
When Kubernetes nodes are recreated during redeployment, Helm charts can fail to roll out due to image pulling issues, causing Terraform deployments to timeout. This was observed in PR #3125.
Observed behavior:
force_update=truedoesn't resolve the issue as expectedRoot cause:
Affected charts:
Proposed solutions
For the next release, we should address this through one of:
References