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

From wikieduonline
Jump to navigation Jump to search
 
(10 intermediate revisions by 2 users not shown)
Line 13: 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 ==
 
* <code>[[elasticsearch_values.yaml]]</code>
 
* <code>[[elasticsearch_values.yaml]]</code>
* [[Prometheus values.yml]]
+
* <code>[[persistence:]]</code>
* [[Chart.yaml]]
 
* [[persistence:]]
 
 
* [[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>
Line 40: Line 41:
  
 
== See also ==
 
== See also ==
 +
* {{values.yaml}}
 
* {{helm upgrade}}
 
* {{helm upgrade}}
 
* {{helm install}}
 
* {{helm install}}

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: