Skip to content

Handle Helm chart failures during node recreation/redeployment #3137

Description

@Adam-D-Lewis

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:

  1. Documentation: Add troubleshooting guide for users experiencing this issue during redeployment
  2. Automation: Implement logic to detect and delete failed Helm charts before redeploying
  3. Configuration: Improve Helm chart resilience during node recreation (e.g., better image pull policies, retry mechanisms)

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Start date

None yet

Target date

None yet

Size

None yet

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions