Difference between revisions of "Helm upgrade --install"

From wikieduonline
Jump to navigation Jump to search
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  
  helm upgrade --install
+
  [[helm upgrade --help]]
 +
[[helm upgrade]] --install
 +
[[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 [[metrics-server]] metrics-server/metrics-server
+
  [[helm upgrade --install metrics-server metrics-server/metrics-server]]
<pre>
+
 
Release "metrics-server" does not exist. Installing it now.
+
[[helm upgrade --install elasticsearch elastic/elasticsearch]]
NAME: metrics-server
+
  [[helm upgrade --install elasticsearch elastic/elasticsearch --set replicas=2]]
LAST DEPLOYED: Thu Dec 2 18:27:09 2021
+
 
NAMESPACE: default
+
[[helm upgrade --install kibana elastic/kibana --set cpu=100m]]
STATUS: deployed
 
REVISION: 1
 
TEST SUITE: None
 
NOTES:
 
***********************************************************************
 
* Metrics Server                                                      *
 
***********************************************************************
 
  Chart version: 3.7.0
 
  App version:  0.5.2
 
  Image tag:    k8s.gcr.io/metrics-server/metrics-server:v0.5.2
 
***********************************************************************
 
</pre>
 
  
 
  helm upgrade --install --namespace karpenter --create-namespace \
 
  helm upgrade --install --namespace karpenter --create-namespace \
Line 33: Line 25:
 
   --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 ==
 +
* <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: