Difference between revisions of "Helm upgrade --install"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
  [[helm upgrade --help]]
 
  [[helm upgrade --help]]
  [[helm]] upgrade --install
+
  [[helm upgrade]] --install
 
  [[helm]] upgrade --install [[--set]] variable1=yourvalue
 
  [[helm]] upgrade --install [[--set]] variable1=yourvalue
 
  helm upgrade --timeout 600 --install
 
  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 airflow]] apache-airflow/airflow --namespace airflow --create-namespace
Line 12: Line 13:
 
  [[helm upgrade --install elasticsearch elastic/elasticsearch]]
 
  [[helm upgrade --install elasticsearch elastic/elasticsearch]]
 
  [[helm upgrade --install elasticsearch elastic/elasticsearch --set replicas=2]]
 
  [[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 \
 
  helm upgrade --install --namespace karpenter --create-namespace \
Line 21: Line 24:
 
   --set aws.defaultInstanceProfile=KarpenterNodeInstanceProfile-${CLUSTER_NAME} \
 
   --set aws.defaultInstanceProfile=KarpenterNodeInstanceProfile-${CLUSTER_NAME} \
 
   --wait # for the defaulting webhook to install before creating a Provisioner
 
   --wait # for the defaulting webhook to install before creating a Provisioner
 +
 +
== 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 ==
 
== Related ==
 
* <code>[[helm install]]</code>
 
* <code>[[helm install]]</code>
 +
* <code>[[helm upgrade]]</code>
  
 
== See also ==
 
== See also ==
 
* {{helm upgrade}}
 
* {{helm upgrade}}
* {{helm}}
+
* {{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: