*** Bugs and fix: https://stackoverflow.com/questions/56220392/kubectl-unable-to-connect-to-the-server-dial-tcp-192-168-214-1366443-conne
*** Templates + Tutorials: https://kubernetes.io/docs/tutorials/ https://opensource.com/article/20/5/helm-charts
*** Note: Get NODEPORT and NODE_IP then can do: wget http://$NODE_IP:$NODE_PORT
export NODE_PORT=$(kubectl get --namespace default -o jsonpath="{.spec.ports[0].nodePort}" services cherry-chart)
export NODE_IP=$(kubectl get nodes --namespace default -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
**** Commands:
- kubectl port-forward $POD_NAME
: ex. kubectl port-forward $POD_NAME 3000:80
kubectl get - list resources kubectl describe - show detailed information about a resource kubectl logs - print the logs from a container in a pod kubectl exec - execute a command on a container in a pod