⇤ ← Revision 1 as of 2023-08-11 15:20:54
Size: 541
Comment:
|
← Revision 2 as of 2023-08-31 08:59:18 ⇥
Size: 687
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
* https://helm.sh/ * https://helm.sh/docs/intro/quickstart/ Package manager for kubernetes * https://helm.sh/docs/intro/install/ |
|
Line 8: | Line 13: |
# values.yaml , define placeholders and values # templates/deployment.yaml deployment template that uses values # templates/service.yaml service template that uses values # {{ .Values.foo }} , get valor of variable foo defined in the values.yaml |
#define placeholders and values # values.yaml # deployment template that uses values # templates/deployment.yaml # service template that uses values # templates/service.yaml # get value of variable foo defined in the values.yaml # {{ .Values.foo }} |
Line 19: | Line 31: |
helm install helm-test . | helm package . |
helm
Package manager for kubernetes
1 kubectl get endpoints
2 helm version
3 helm create helm-test
4 cd helm-test
5 #define placeholders and values
6 # values.yaml
7
8 # deployment template that uses values
9 # templates/deployment.yaml
10
11 # service template that uses values
12 # templates/service.yaml
13
14 # get value of variable foo defined in the values.yaml
15 # {{ .Values.foo }}
16
17 # render values in k8s yaml template
18 helm template .
19 # checks yaml template
20 helm lint .
21 # install the helm chart on k8s
22 helm install helm-test .
23 helm package .