Difference between revisions of "Values file: values.yaml"

From wikieduonline
Jump to navigation Jump to search
 
(30 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{lowercase}}
+
* https://helm.sh/docs/chart_template_guide/values_files/
  
 +
[[helm create my-chart]]
 
{{helm files}}
 
{{helm files}}
  
Line 6: Line 7:
 
* <code>[[helm upgrade]] -f ingress-controller/values.yml nginx-ingress stable/nginx-ingress</code>
 
* <code>[[helm upgrade]] -f ingress-controller/values.yml nginx-ingress stable/nginx-ingress</code>
  
* <code>[[helm upgrade]] elasticsearch elastic/elasticsearch -f ./values.yml</code>
+
* <code>[[helm upgrade elasticsearch elastic/elasticsearch -f ./elasticsearch values.yaml]]</code>
  
 
== Example: helm create ==
 
== Example: helm create ==
Line 12: Line 13:
  
 
== Examples ==
 
== Examples ==
Grafana example:
+
[[Grafana]] example:
 
* https://github.com/helm/charts/blob/master/stable/grafana/values.yaml
 
* https://github.com/helm/charts/blob/master/stable/grafana/values.yaml
  
Elasticsearch example:
+
[[Elasticsearch]] example, [[elasticsearch_values.yaml]]:
 
* https://github.com/elastic/helm-charts/blob/main/elasticsearch/values.yaml
 
* https://github.com/elastic/helm-charts/blob/main/elasticsearch/values.yaml
 +
 +
[[Prometheus]]:
 +
* <code>[[prometheus_values.yml]]</code>
  
 
== Related ==
 
== Related ==
* [[Chart.yaml]]
+
* <code>[[elasticsearch_values.yaml]]</code>
* [[persistence:]]
+
* <code>[[persistence:]]</code>
 
* [[Consul]]: https://www.consul.io/docs/k8s/helm
 
* [[Consul]]: https://www.consul.io/docs/k8s/helm
 
* <code>[[helm create]]</code>
 
* <code>[[helm create]]</code>
* <code>[[--set]]</code>
+
* <code>[[--set]]</code>, [[set]], [[set_list]]
 
* <code>[[.Values]]</code>
 
* <code>[[.Values]]</code>
 
* <code>[[.Release]]</code>
 
* <code>[[.Release]]</code>
 
* <code>[[.Chart]]</code>
 
* <code>[[.Chart]]</code>
 
* <code>[[global:]]</code>
 
* <code>[[global:]]</code>
[[helm show values]]
+
 
[[helm show values --help]]
+
== [[Helm]] ==
[[helm install --values]]
+
* <code>[[helm show values]]: [[helm show values elastic/elasticsearch]]</code>
 +
* <code>[[helm show values --help]]</code>
 +
* <code>[[helm get values]]: [[helm get values elasticsearch --all]]</code>
 +
* <code>[[helm install --values]]</code>
 +
* <code>[[helm upgrade --reuse-values]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{values.yaml}}
 +
* {{helm upgrade}}
 
* {{helm install}}
 
* {{helm install}}
* {{helm}}
+
 
  
 
[[Category:Helm]]
 
[[Category:Helm]]

Latest revision as of 15:28, 13 February 2024

helm create my-chart
mychart/
 Chart.yaml
 values.yaml
 charts/
 templates/
 ...

Update installed helm[edit]

  • helm upgrade -f ingress-controller/values.yml nginx-ingress stable/nginx-ingress

Example: helm create[edit]

helm create my-first-chart
Creating my-first-chart

find my-first-chart
my-first-chart
my-first-chart/Chart.yaml
my-first-chart/charts
my-first-chart/.helmignore
my-first-chart/templates
my-first-chart/templates/deployment.yaml
my-first-chart/templates/NOTES.txt
my-first-chart/templates/ingress.yaml
my-first-chart/templates/tests
my-first-chart/templates/tests/test-connection.yaml
my-first-chart/templates/service.yaml
my-first-chart/templates/serviceaccount.yaml
my-first-chart/templates/_helpers.tpl
my-first-chart/values.yaml

Examples[edit]

Grafana example:

Elasticsearch example, elasticsearch_values.yaml:

Prometheus:

Related[edit]

Helm[edit]

See also[edit]

Advertising: