From 8b98058f222926768395e11a4cf8960e2de17fee Mon Sep 17 00:00:00 2001 From: Jerome Petazzoni Date: Mon, 27 May 2019 15:51:57 -0500 Subject: [PATCH] Add note about Helm first deploy fail --- slides/wek8s/helm.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/slides/wek8s/helm.md b/slides/wek8s/helm.md index 54e41cb9..e71b218a 100644 --- a/slides/wek8s/helm.md +++ b/slides/wek8s/helm.md @@ -645,3 +645,23 @@ class: extra-details (we can use `--set` multiple times if needed) .warning[If we specify `--set` without `--values`, it erases all the other values!] + +--- + +class: extra-details + +## If the first deployment fails + +- If the first deployment of a release fails, it will be in an inconsistent state + +- Further attempts to `helm install` or `helm upgrade` will fail + +- To fix the problem, two solutions: + + - `helm delete --purge` that release + + - `helm upgrade --force` that release + +- This only applies to the first deployment + + (i.e., Helm knows how to recover if a subsequent deployment fails)