garden: Garden does not support all k8s resources within Helm charts
Bug
Current Behavior
I am trying install my own Helm charts with k8s jobs only, with garden deploy. Unfortunately it keeps stuck at the deployment phase, although Helm release has been already deployed. Same story is with pods. When I change resource to deployment garden won’t stuck since detects status of deployment. I think this is related to serviceResource limitation which supports: “Deployment”, “DaemonSet”, “StatefulSet” only
Expected behavior
Garden should support also other k8s resources from Helm charts
Reproducible example
Here is the snippet of the helm chart files: https://snipit.io/public/snippets/61497
When I try deploy them with garden deploy command it’s stuck and timeouts after default 300 seconds of Helm release process
Workaround
Add dummy deployment resource to Helm charts.
Suggested solution(s)
I think garden should watch the Helm releases status at Helm release level not at the k8s resources like Deployments or StatefuSets
Additional context
Your environment
- OS: macOS BigSur
- How I’m running Kubernetes: GKE
garden version 0.12.33
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 16 (7 by maintainers)
Hi @kszymans , thanks for filing the issue. I am able to reproduce this with your snippet. I can also confirm that deploying the same job as a kubernetes module works without problems. I believe this has to do with the way we wait for resources to become ready in helm modules. Thoughts @thsig @edvald ?