Difference between revisions of "Helm install"

From wikieduonline
Jump to navigation Jump to search
 
(39 intermediate revisions by 4 users not shown)
Line 8: Line 8:
 
* <code>[[helm install --namespace]]</code>
 
* <code>[[helm install --namespace]]</code>
 
* <code>[[helm install --values]]</code>
 
* <code>[[helm install --values]]</code>
 +
* <code>[[helm install --username]]</code>
 +
* <code>[[helm install --password]]</code>
 +
* <code>[[helm install --generate-name]]</code>
 +
* <code>[[helm install --create-namespace]]</code>
  
 
* <code>[[--generate-name]]</code>
 
 
 
* <code>[[--create-namespace]]</code>
 
 
* <code>[[helm install -f]] my[[values.yaml]] -f override.yaml  myredis ./redis</code>
 
* <code>[[helm install -f]] my[[values.yaml]] -f override.yaml  myredis ./redis</code>
 
* <code>[[helm upgrade --install]]</code>  
 
* <code>[[helm upgrade --install]]</code>  
Line 19: Line 18:
  
 
== Examples ==
 
== Examples ==
 +
* [[Prometheus]]: <code>[[helm install myprometheus prometheus-community/prometheus]]</code>
 +
 +
* [[Grafana]]: <code>[[helm install grafana]]</code>
  
[[Prometheus]]
+
* [[Fluentd]]: <code>[[helm install fluentd]]</code>
:<code>[[helm install myprometheus prometheus-community/prometheus]]</code>
 
  
[[Grafana]]
+
* [[Fluentbit]]: <code>[[helm install fluent-bit]]</code>
:<code>[[helm install --set persistence.enabled=true grafana grafana/grafana]]</code>
 
:Deprecated example: <code>[[helm install --set persistence.enabled=true grafana stable/grafana]]</code>
 
  
[[helm install MY_GRAFANA_NAME stable/grafana]]<ref>https://stackoverflow.com/a/57964140/14175738</ref>
+
* [[Velero]]: <code>[[helm install velero]]</code>
  
[[helm install --set persistence.enabled=true grafana grafana/grafana --set ingress.enabled=true]]
+
* [[Redis]]: <code>[[helm install redis]]</code>
[[helm install fluentd]]
+
* [[MariaDB]]: <code>[[helm install mariadb]]</code>
[[helm install fluent-bit]]
 
[[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]])
+
* [[MySQL]]: <code>[[helm install mysql]]</code>
Error: unknown flag: --name
 
  
[[helm repo add]] [[ingress-nginx]] https://kubernetes.github.io/ingress-nginx/
+
* [[Ingress Nginx]]: <code>[[helm install nginx-ingress]]</code>
[[helm install my-release ingress-nginx/ingress-nginx]]
+
 
 +
* [[Mediawiki]]: <code>[[helm install mediawiki]]</code>
 +
 
 +
* SentinelOne: <code>[[helm install sentinelone]]</code>
 +
 
 +
* [[Keycloak]]: <code>[[helm install keycloak]]</code>
 +
 
 +
* [[helm install apache]]
 +
 
 +
* [[helm install argocd]]
 +
 
 +
* <code>[[helm install metrics-server]]</code>
  
helm install --name ingress-nginx ingress-nginx/[[ingress-nginx]]
+
* [[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 58: Line 61:
  
 
  [[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  
 
  helm install sentry/sentry-kubernetes your-sentry-test -f values.yaml  --wait --namespace sentry-test --set  
Line 65: Line 66:
 
  Error: INSTALLATION FAILED: [[non-absolute URLs]] should be in form of repo_name/path_to_chart, got: your-sentry-test
 
  Error: INSTALLATION FAILED: [[non-absolute URLs]] should be in form of repo_name/path_to_chart, got: your-sentry-test
  
=== Elasticsearch===
+
* Elasticsearch: [[helm install elasticsearch]]
  [[helm install elasticsearch]] ./helm-charts/elasticsearch [[--set]] imageTag=7.17.3
+
 
https://artifacthub.io/packages/helm/elastic/elasticsearch
+
=== [[Yourapp]] ===
 +
  helm install [[yourapp]] .
 +
 
 +
* [[SentinelOne]]: <code>[[helm install sentinelone]]</code>
  
[[helm install elasticsearch elastic/elasticsearch]]
+
=== manifest example ===
[[helm install elasticsearch elastic/elasticsearch --set replicas=2]]
+
{{kubernetes_manifest_official_example}}
  
 
== Datadog ==
 
== Datadog ==
 
  [[helm install]] <RELEASE_NAME> datadog/[[synthetics-private-location]] --set-file configFile=<MY_WORKER_CONFIG_FILE_NAME>.json
 
  [[helm install]] <RELEASE_NAME> datadog/[[synthetics-private-location]] --set-file configFile=<MY_WORKER_CONFIG_FILE_NAME>.json
  
== Related commands ==
+
== 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>[[helm install metrics-server]]</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: