Giriş
Açıklaması şöyle
Helm install creates a special type of Kubernetes secret that holds release information and deploys the chart if not present. If Chart is present on the cluster then it will fail. To upgrade any deployed chart release, you need to use an upgrade command. Helm provides another option for chart deployment which verifies the Chart is present or not, in case of yes then it will upgrade the chart or it will install the chart.
Açıklaması şöyle
helm upgradee <release-name> <path-to-chart> — upgrade earlier release with updated charthelm upgrade <release-name> <path-to-chart> –f <path-to-yaml-file> — upgrade earlier release with updated chart and configuration provide in yaml filehelm upgrade <release-name> helm-chart-demo –set <key-name> = <value>- upgrade earlier release with updated chart and updated value with –set flag
Örnek
Şöyle yaparız
helm upgrade helm-char-demo-r-1 helm-chart-demo –set replicaCount= 2
--install seçeneği
Örnek
Şöyle yaparız
helm upgrade --install elastic-operator elastic/eck-operator
Çıktı olarak şunu alırız. Burada REVISION ile 3. sürüme geçildiği görülebilir
Release "elastic-operator" has been upgraded. Happy Helming!
NAME: elastic-operator LAST DEPLOYED: Wed May 25 09:44:06 2022 NAMESPACE: default STATUS: deployed REVISION: 3 TEST SUITE: None
Hiç yorum yok:
Yorum Gönder