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 . 

kubernetes/helm (last edited 2023-08-31 08:59:18 by 127)