Difference between revisions of "Helm upgrade --install"

From wikieduonline
Jump to navigation Jump to search
 
Line 30: Line 30:
 
  Usage:  helm upgrade [RELEASE] [CHART] [flags]
 
  Usage:  helm upgrade [RELEASE] [CHART] [flags]
  
  Solution: helm upgrade --install apache oci://registry-1.docker.io/bitnamicharts/apache --set ingress.enabled-true
+
  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
 
  [[helm upgrade]] --install apache apache-10.5.4 --set ingress.enabled-true

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: