Choco install -y kubernetes-helm :
helm repo add stable https://kubernetes-charts.storage.googleapis.com
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
- helm version --short
- helm search: search for charts
- helm fetch: download a chart to our local directory to view
- helm install: upload the chart to Kubernetes
- helm list: list releases of charts
helm repo add stable https://kubernetes-charts.storage.googleapis.com
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
Helm Search Repositories :
helm search repo bitnami/nginx
helm list
helm ls -all
Helm Install and Uninstall Package :
helm install bitnami/nginx mywebserver
helm install dashboard-demo stable/kubernetes-dashboard --set rbac.clusterAdminRole=true
helm uninstall mywebserver
helm delete mywebserver
Helm Rollback :
helm status mywebserver
helm history mywebserver
helm rollback mywebserver -1
Kubectl Help :
kubectl get svc,po,deploy
kubectl describe deployment mywebserver
kubectl get pods -l app.kubernetes.io/name=nginx
kubectl get service mywebserver-nginx -o wide
kubectl get pods -n kube-system
CLUSTERS FOR PRACTICE :
- Play with Kubernetes: A simple, interactive and fun playground to learn Kubernetes
- Katacoda’s Kubernetes Playground: no installs or setup, just tutorials on a cluster
- Minikube: local testing and getting comfortable with kubectl
- Google Kubernetes Enginer (GKE): by far the fastest way to get a multi node cluster running.
- Kelsey Hightower’s Kubernetes The Hard Way: the definitive way to learn how to set up a cluster.
- Kubernetes Examples: how to run real applications with Kubernetes