Difference between revisions of "--set"
Jump to navigation
Jump to search
(7 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
* <code>[[helm upgrade --set]]</code> | * <code>[[helm upgrade --set]]</code> | ||
* <code>[[helm upgrade --install --set]]</code> | * <code>[[helm upgrade --install --set]]</code> | ||
+ | |||
+ | [[--set-json]] | ||
+ | [[--set-string]] | ||
[[helm upgrade]] mygrafana [[stable/grafana]] [[--reuse-values]] [[--set]] [[replicas]]=2 | [[helm upgrade]] mygrafana [[stable/grafana]] [[--reuse-values]] [[--set]] [[replicas]]=2 | ||
[[helm install elasticsearch]] [[elastic/elasticsearch]] --set replicas=2 | [[helm install elasticsearch]] [[elastic/elasticsearch]] --set replicas=2 | ||
+ | |||
+ | * <code>[[helm install mygrafana grafana/grafana]] --set persistence.enabled=true --set persistence.accessModes={ReadWriteOnce} --set persistence.size=8Gi</code> | ||
+ | |||
Line 14: | Line 20: | ||
--set [[installCRDs]]=true | --set [[installCRDs]]=true | ||
+ | |||
+ | [[set_list]] | ||
+ | |||
+ | {{helm_release grafana example}} | ||
== Related == | == Related == | ||
Line 24: | Line 34: | ||
* <code>[[helm install --values]]</code> | * <code>[[helm install --values]]</code> | ||
* <code>[[helm upgrade --help]]</code> | * <code>[[helm upgrade --help]]</code> | ||
+ | * [[Error: Missing key/value separator]] | ||
+ | * [[Terraform function: toset]] | ||
== See also == | == See also == |
Latest revision as of 13:46, 12 February 2024
--set-json --set-string
helm upgrade mygrafana stable/grafana --reuse-values --set replicas=2 helm install elasticsearch elastic/elasticsearch --set replicas=2
* helm install mygrafana grafana/grafana --set persistence.enabled=true --set persistence.accessModes={ReadWriteOnce} --set persistence.size=8Gi
--set='grafana.sidecar.dashboards.enabled=true'
helm install my-mariadb --set auth.rootPassword=secretpassword,auth.database=app_database oci://REGISTRY_NAME/REPOSITORY_NAME/mariadb
--set installCRDs=true
set_list
resource "helm_release" "grafana" { name = "grafana" create_namespace = true namespace = "grafana" repository = "https://grafana.github.io/helm-charts" chart = "grafana" set { name = "ingress.enabled" value = "true" } set_list { name = "ingress.hosts" value = ["example.com"] } set { name = "ingress.ingressClassName" value = "nginx" } set { name = "ingress.tls" value = "true" } }
Related[edit]
helm show all
helm get values
helm get values kibana --all
helm upgrade --install kibana elastic/kibana --set cpu=100m
helm get values elasticsearch --all
helm install elasticsearch elastic/elasticsearch --set replicas=2
helm install --values
helm upgrade --help
- Error: Missing key/value separator
- Terraform function: toset
See also[edit]
Advertising: