Konubinix' opinionated web of thoughts

K8s Deadlock if Job Helm.sh/Hook Postinstall Using a Pvc


k8s deadlock if job helm.sh/hook postinstall using a pvc

the PVC waits for the job, but helm waits for all the resources to be ready to run the job.

If you don’t use the helm hooks, upgrades will fail, because helm will try to patch a job, and this is not authorized.

If you use the helm hooks, the job won’t be dealt with by helm

If you don’t use hooks to deal with the pvc, you end up with a job