skaffold icon indicating copy to clipboard operation
skaffold copied to clipboard

Skaffold hangs on deploying job with Helm hook

Open ivanovaleksey opened this issue 11 months ago • 1 comments

Hey, I am trying to deploy zitadel Helm chart using skaffold v4beta11. Unfortunately skaffold run just hangs while creating job resources.

I tried to debug and narrow down the problem and noticed that the issue was jobs having those annotations

  annotations:
    helm.sh/hook: pre-install,pre-upgrade
    helm.sh/hook-delete-policy: before-hook-creation
    helm.sh/hook-weight: "2"

Does skaffold support Helm hooks? I can remove those annotation as they are customizable via values but the jobs seem to need to be run before the deployment is created/updated.

ivanovaleksey avatar May 22 '25 15:05 ivanovaleksey

Hi, try to deploy the chart without skaffold, does it work? It's probably the helm's issue, because skaffold calls the helm binary installed on the host machine https://skaffold.dev/docs/deployers/helm/

idsulik avatar Jun 06 '25 15:06 idsulik