pull the image into K8 cluster and create pods

kubectl is kubernetes command line toolsc

kubectl cluster-info

kubectl get nodes

kubectl get all -n []

kubectl get pod

kubectl get configmap

kubectl get secret

kubectl get node
kubectl get node -o wide // to get IP of the node running the cluster

kubectl describe pod [name of pod]

Helm is a package manager for kubernetes cluster.

Think of it as what Homebrew 🍺 is for mac or chocolatey is for windows.

brew install helm

// add repo for helm
helm repo add bitnami <https://charts.bitnami.com/bitnami>

helm search repo bitnami

helm repo update

helm install bitnami/mysql --gneerate-name

helm show chart bitnami/mysql

helm ls // to see all releases

helm status mysql-12345 //that particular mysql instance

helm uninstall mysql-12345

K8s

Master node = running control plane

Every node is running kubelets, which are like services that talk to kubernetes cluster.

Worker node can run different docker containers of different applications