Difference between revisions of "Helm upgrade --install"

From wikieduonline
Jump to navigation Jump to search
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  
 +
[[helm upgrade --help]]
 +
[[helm upgrade]] --install
 +
[[helm]] upgrade --install [[--set]] variable1=yourvalue
 +
helm upgrade --timeout 600 --install
 +
  helm upgrade --timeout 600 --install -f [[values.yml]]
  
helm upgrade --install [[metrics-server]] metrics-server/metrics-server
+
[[helm upgrade --install airflow]] apache-airflow/airflow --namespace airflow --create-namespace
<pre>
+
 
Release "metrics-server" does not exist. Installing it now.
+
[[helm upgrade --install metrics-server metrics-server/metrics-server]]
NAME: metrics-server
+
 
LAST DEPLOYED: Thu Dec  2 18:27:09 2021
+
[[helm upgrade --install elasticsearch elastic/elasticsearch]]
NAMESPACE: default
+
[[helm upgrade --install elasticsearch elastic/elasticsearch --set replicas=2]]
STATUS: deployed
+
 
REVISION: 1
+
[[helm upgrade --install kibana elastic/kibana --set cpu=100m]]
TEST SUITE: None
+
 
NOTES:
+
helm upgrade --install --namespace karpenter --create-namespace \
***********************************************************************
+
  [[karpenter]] karpenter/karpenter \
* Metrics Server                                                      *
+
  --version v0.6.3 \
***********************************************************************
+
  --set serviceAccount.annotations."eks\.amazonaws\.com/role-arn"=${KARPENTER_IAM_ROLE_ARN} \
  Chart version: 3.7.0
+
  --set clusterName=${CLUSTER_NAME} \
  App version:  0.5.2
+
  --set clusterEndpoint=${CLUSTER_ENDPOINT} \
  Image tag:     k8s.gcr.io/metrics-server/metrics-server:v0.5.2
+
  --set aws.defaultInstanceProfile=KarpenterNodeInstanceProfile-${CLUSTER_NAME} \
***********************************************************************
+
  --wait # for the defaulting webhook to install before creating a Provisioner
</pre>
+
 
 +
== Errors ==
 +
Error: "helm upgrade" requires 2 arguments
 +
 +
Usage:  helm upgrade [RELEASE] [CHART] [flags]
 +
 
 +
Solution: helm upgrade --install apache oci://registry-1.docker.io/bitnamicharts/apache --set [[ingress.enabled]]=true
 +
 
 +
[[helm upgrade]] --install apache apache-10.5.4 --set ingress.enabled-true
 +
Error: non-absolute URLs should be in form of repo_name/path_to_chart, got: apache-10.5.4
 +
 
 +
== Related ==
 +
* <code>[[helm install]]</code>
 +
* <code>[[helm upgrade]]</code>
  
 
== See also ==
 
== See also ==
* {{helm}}
+
* {{helm upgrade}}
 +
* {{helm install}}
  
 
[[Category:Helm]]
 
[[Category:Helm]]

Latest revision as of 18:26, 15 February 2024

helm upgrade --help
helm upgrade --install
helm upgrade --install --set variable1=yourvalue
helm upgrade --timeout 600 --install
 helm upgrade --timeout 600 --install -f values.yml
helm upgrade --install airflow apache-airflow/airflow --namespace airflow --create-namespace
helm upgrade --install metrics-server metrics-server/metrics-server
helm upgrade --install elasticsearch elastic/elasticsearch
helm upgrade --install elasticsearch elastic/elasticsearch --set replicas=2
helm upgrade --install kibana elastic/kibana --set cpu=100m
helm upgrade --install --namespace karpenter --create-namespace \
  karpenter karpenter/karpenter \
  --version v0.6.3 \
  --set serviceAccount.annotations."eks\.amazonaws\.com/role-arn"=${KARPENTER_IAM_ROLE_ARN} \
  --set clusterName=${CLUSTER_NAME} \
  --set clusterEndpoint=${CLUSTER_ENDPOINT} \
  --set aws.defaultInstanceProfile=KarpenterNodeInstanceProfile-${CLUSTER_NAME} \
  --wait # for the defaulting webhook to install before creating a Provisioner

Errors[edit]

Error: "helm upgrade" requires 2 arguments 

Usage:  helm upgrade [RELEASE] [CHART] [flags]
Solution: helm upgrade --install apache oci://registry-1.docker.io/bitnamicharts/apache --set ingress.enabled=true
helm upgrade --install apache apache-10.5.4 --set ingress.enabled-true
Error: non-absolute URLs should be in form of repo_name/path_to_chart, got: apache-10.5.4

Related[edit]

See also[edit]

Advertising: