Tri Nguyen
Tri Nguyen

Intro

In this post I would like to list some useful commands for using Kubernetes.

Kubernetes

Ref: kubectl Cheat Sheet

kubectl cluster-info
kubectl get po
kubectl get deploy
kubectl get pod --namespace default $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}
kubectl --namespace default port-forward $POD_NAME 8080:$CONTAINER_PORT

Helm

helm list
helm install {release-name} {folder}

Comments

If you have any question, you can start a new discussion.