Difference between revisions of "Helm install"

From wikieduonline
Jump to navigation Jump to search
 
(60 intermediate revisions by 8 users not shown)
Line 4: Line 4:
 
* <code>[[helm install --set]]</code>
 
* <code>[[helm install --set]]</code>
 
* <code>[[helm install --dry-run]]</code>
 
* <code>[[helm install --dry-run]]</code>
 +
* <code>[[helm install --debug]]</code>
 +
* <code>[[helm install --timeout]]</code>
 
* <code>[[helm install --namespace]]</code>
 
* <code>[[helm install --namespace]]</code>
* <code>--create-namespace]]</code>
+
* <code>[[helm install --values]]</code>
* <code>[[helm install -f]] myvalues.yaml -f override.yaml  myredis ./redis</code>
+
* <code>[[helm install --username]]</code>
 +
* <code>[[helm install --password]]</code>
 +
* <code>[[helm install --generate-name]]</code>
 +
* <code>[[helm install --create-namespace]]</code>
 +
 
 +
* <code>[[helm install -f]] my[[values.yaml]] -f override.yaml  myredis ./redis</code>
 
* <code>[[helm upgrade --install]]</code>  
 
* <code>[[helm upgrade --install]]</code>  
 +
* <code>[[helm install --repo]] https://example.com/charts/ mynginx nginx</code>
  
 
== Examples ==
 
== Examples ==
 +
* [[Prometheus]]: <code>[[helm install myprometheus prometheus-community/prometheus]]</code>
 +
 +
* [[Grafana]]: <code>[[helm install grafana]]</code>
 +
 +
* [[Fluentd]]: <code>[[helm install fluentd]]</code>
 +
 +
* [[Fluentbit]]: <code>[[helm install fluent-bit]]</code>
 +
 +
* [[Velero]]: <code>[[helm install velero]]</code>
 +
 +
* [[Redis]]: <code>[[helm install redis]]</code>
 +
* [[MariaDB]]: <code>[[helm install mariadb]]</code>
  
[[Prometheus]]
+
* [[MySQL]]: <code>[[helm install mysql]]</code>
:<code>[[helm install myprometheus prometheus-community/prometheus]]</code>
 
  
[[Grafana]]
+
* [[Ingress Nginx]]: <code>[[helm install nginx-ingress]]</code>
:<code>[[helm install --set persistence.enabled=true grafana grafana/grafana]]</code>
 
:Deprecated example: [[helm install --set persistence.enabled=true grafana stable/grafana]]
 
  
[[helm install MY_GRAFANA_NAME stable/grafana]]<ref>https://stackoverflow.com/a/57964140/14175738</ref>
+
* [[Mediawiki]]: <code>[[helm install mediawiki]]</code>
  
[[helm install --set persistence.enabled=true grafana grafana/grafana --set ingress.enabled=true]]
+
* SentinelOne: <code>[[helm install sentinelone]]</code>
[[helm install fluentd fluent/fluentd]]
 
[[helm install grafana stable/grafana]] --set persistence.enabled=true --set persistence.accessModes={ReadWriteOnce} --set [[persistence]].size=8Gi
 
  
helm install [[--name]] mysql stable/mysql (deprecated in [[Helm v3]])
+
* [[Keycloak]]: <code>[[helm install keycloak]]</code>
Error: unknown flag: --name
 
  
[[helm repo add]] [[ingress-nginx]] https://kubernetes.github.io/ingress-nginx/
+
* [[helm install apache]]
[[helm install my-release ingress-nginx/ingress-nginx]]
 
  
helm install --name ingress-nginx ingress-nginx/[[ingress-nginx]]
+
* [[helm install argocd]]
 +
 
 +
* <code>[[helm install metrics-server]]</code>
 +
 
 +
* [[helm install kube-ops-view]]
  
helm install stable/grafana
 
Error: must either provide a name or specify --generate-name
 
  
helm install MY_FIRST_GRAFANA_INSTALL stable/grafana
 
Error: INSTALLATION FAILED: failed to download "stable/grafana"
 
  
 
  helm install [[kubernetes-dashboard]]/kubernetes-dashboard --name my-release --set=service.externalPort=8080,[[resources.limits.cpu]]=200m
 
  helm install [[kubernetes-dashboard]]/kubernetes-dashboard --name my-release --set=service.externalPort=8080,[[resources.limits.cpu]]=200m
Line 49: Line 62:
 
  [[helm install --name cert-manager --namespace cert-manager]] --version v1.1.0 [[jetstack]]/[[cert-manager]] --set install[[CRDs]]=true
 
  [[helm install --name cert-manager --namespace cert-manager]] --version v1.1.0 [[jetstack]]/[[cert-manager]] --set install[[CRDs]]=true
  
  [[helm install kube-ops-view]]
+
  helm install sentry/sentry-kubernetes your-sentry-test -f values.yaml  --wait --namespace sentry-test --set
 +
email.password=%smtp.pass% --set user.password=%user.pass%
 +
Error: INSTALLATION FAILED: [[non-absolute URLs]] should be in form of repo_name/path_to_chart, got: your-sentry-test
  
[[helm install elasticsearch]] ./helm-charts/elasticsearch [[--set]] imageTag=7.17.3
+
* Elasticsearch: [[helm install elasticsearch]]
https://artifacthub.io/packages/helm/elastic/elasticsearch
 
  
== Related commands ==
+
=== [[Yourapp]] ===
 +
helm install [[yourapp]] .
 +
 
 +
* [[SentinelOne]]: <code>[[helm install sentinelone]]</code>
 +
 
 +
=== manifest example ===
 +
{{kubernetes_manifest_official_example}}
 +
 
 +
== Datadog ==
 +
[[helm install]] <RELEASE_NAME> datadog/[[synthetics-private-location]] --set-file configFile=<MY_WORKER_CONFIG_FILE_NAME>.json
 +
 
 +
== Errors ==
 +
* [[timed out waiting for the condition]]
 +
 
 +
== Activities ==
 +
* [[Pull an Image from a Private Registry in Kubernetes]]
 +
 
 +
== Related ==
 +
* <code>[[kubectl get events]]</code>
 
* <code>[[kubectl get services]]</code>
 
* <code>[[kubectl get services]]</code>
 +
* <code>[[helm status]]</code>
 +
* <code>[[helm ls]]</code>
 +
* <code>[[helm get manifest]]</code>
 
* <code>[[minikube addons enable]] ingress</code>
 
* <code>[[minikube addons enable]] ingress</code>
 
* <code>[[helm repo list]]</code>
 
* <code>[[helm repo list]]</code>
 
* <code>[[helm upgrade --install]]</code>
 
* <code>[[helm upgrade --install]]</code>
* <code>[[helm ls]]</code>
 
 
* <code>[[helm rollback]]</code>
 
* <code>[[helm rollback]]</code>
 
* <code>-n, --[[namespace]]</code>
 
* <code>-n, --[[namespace]]</code>
 
* <code>[[helm template]]</code>
 
* <code>[[helm template]]</code>
* <code>[[helm get manifest]]</code>
+
 
 
* <code>[[helm uninstall]]</code>
 
* <code>[[helm uninstall]]</code>
 +
* <code>[[pending-upgrade]]</code>
 +
* <code>[[Terraform resource: helm release]]</code>
 +
* [[Terraform resource]]: <code>[[helm_release]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 20:27, 17 July 2024

https://helm.sh/docs/helm/helm_install/

Examples[edit]


helm install kubernetes-dashboard/kubernetes-dashboard --name my-release --set=service.externalPort=8080,resources.limits.cpu=200m
helm install my-release kubernetes-dashboard/kubernetes-dashboard


helm install RELEASE_NAME prometheus-community/kube-prometheus-stack
helm install my-duplicated-name kubernetes-dashboard/kubernetes-dashboard
Error: INSTALLATION FAILED: cannot re-use a name that is still in use
helm install --name cert-manager --namespace cert-manager --version v1.1.0 jetstack/cert-manager --set installCRDs=true
helm install sentry/sentry-kubernetes your-sentry-test -f values.yaml  --wait --namespace sentry-test --set 
email.password=%smtp.pass% --set user.password=%user.pass%
Error: INSTALLATION FAILED: non-absolute URLs should be in form of repo_name/path_to_chart, got: your-sentry-test

Yourapp[edit]

helm install yourapp .

manifest example[edit]

resource "kubernetes_manifest" "test-configmap" {
 manifest = {
   "apiVersion" = "v1"
   "kind"       = "ConfigMap"
   "metadata" = {
     "name"      = "test-config"
     "namespace" = "default"
   }
   "data" = {
     "foo" = "bar"
   }
 }
}

Datadog[edit]

helm install <RELEASE_NAME> datadog/synthetics-private-location --set-file configFile=<MY_WORKER_CONFIG_FILE_NAME>.json

Errors[edit]

Activities[edit]

Related[edit]

See also[edit]

Advertising: