To add a repo to local helm:
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
helm repo list
To deploy the chart bitnami/kube-state-metrics to name space metrics with the release name also same as chart name kube-state-metrics.
kubectl create ns metrics
helm install kube-state-metrics bitnami/kube-state-metrics -n metrics
helm ls -n metrics
And then to see the pods in it and access a service with port forward on your local machine.
kubectl get all -n metrics
kubectl port-forward svc/kube-state-metrics 8080:8080 -n metrics
To upgrade or downgrade to a specific version of chart.
helm upgrade kube-state-metrics bitnami/kube-state-metrics --version 0.4.0 -n metrics
No comments:
Post a Comment