Difference between revisions of "Helm install --set"
Jump to navigation
Jump to search
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | + | * [[Ingress]]: <code>[[helm install --set persistence.enabled=true grafana grafana/grafana --set ingress.enabled=true]]</code> | |
+ | * <code>[[helm install --set persistence.enabled=true grafana grafana/grafana]]</code> | ||
+ | * <code>[[helm install]] --set 'args={[[--kubelet-insecure-tls]]}' --namespace kube-system [[metrics-server]] metrics-server/metrics-server</code> | ||
helm install grafana grafana/grafana --namespace grafana --set persistence.storageClassName=“gp2” --set persistence.enabled=true --set | helm install grafana grafana/grafana --namespace grafana --set persistence.storageClassName=“gp2” --set persistence.enabled=true --set | ||
adminPassword=‘YOURPASS’ --set ingress.enabled=true --set ingress.ingressClassName=“internet-facing-ingress” --set ingress.hosts=“your host name” | adminPassword=‘YOURPASS’ --set ingress.enabled=true --set ingress.ingressClassName=“internet-facing-ingress” --set ingress.hosts=“your host name” | ||
+ | |||
+ | |||
+ | --set [[registryBase]]=${CONTAINER_REGISTRY_BASE} | ||
+ | --set [[imageTag]]=${VERSION} | ||
+ | --set [[gitVersion]]=\"${[[CI_COMMIT_REF_SLUG]]}-${[[CI_COMMIT_SHORT_SHA]]}\" | ||
+ | --set [[gitBranch]]=\"${[[CI_COMMIT_BRANCH]]}\"" | ||
+ | |||
+ | |||
+ | |||
+ | --set foo={a,b,c} | ||
+ | --set aws.subnets={subnet-123456,subnet-654321} | ||
+ | Ref: https://stackoverflow.com/questions/48316330/how-to-set-multiple-values-with-helm | ||
+ | |||
+ | Users of zsh might need to put quotes around key/value pairs. | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[helm uninstall]]</code> | ||
+ | * <code>[[kubectl get ingress]]</code> | ||
== See also == | == See also == | ||
* {{helm install}} | * {{helm install}} | ||
+ | * {{helm}} | ||
[[Category:Helm]] | [[Category:Helm]] |
Latest revision as of 09:12, 23 October 2023
- Ingress:
helm install --set persistence.enabled=true grafana grafana/grafana --set ingress.enabled=true
helm install --set persistence.enabled=true grafana grafana/grafana
helm install --set 'args={--kubelet-insecure-tls}' --namespace kube-system metrics-server metrics-server/metrics-server
helm install grafana grafana/grafana --namespace grafana --set persistence.storageClassName=“gp2” --set persistence.enabled=true --set adminPassword=‘YOURPASS’ --set ingress.enabled=true --set ingress.ingressClassName=“internet-facing-ingress” --set ingress.hosts=“your host name”
--set registryBase=${CONTAINER_REGISTRY_BASE} --set imageTag=${VERSION} --set gitVersion=\"${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA}\" --set gitBranch=\"${CI_COMMIT_BRANCH}\""
--set foo={a,b,c} --set aws.subnets={subnet-123456,subnet-654321} Ref: https://stackoverflow.com/questions/48316330/how-to-set-multiple-values-with-helm
Users of zsh might need to put quotes around key/value pairs.
Related[edit]
See also[edit]
helm install [ --set | --dry-run | --debug | --timeout | --namespace | --create-namespace | --generate-name | --help ] values.yaml
,helm upgrade --install
- Helm,
helm
[repo | template
|list
|install | unsintall
|create
|show | pull | push
|status | history | plugin
|search | upgrade | delete | lint | test | package | dependency | get | rollback | version | --help]
,helm@2
, Chart file structure, Helm Charts,values.yaml, chart.yaml
, Helm functions, Helm versions,helmfile
Deprecated:init
, variables, Mapkubeapis, .helmignore
Advertising: