Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 546 Bytes

kubernetes.md

File metadata and controls

50 lines (33 loc) · 546 Bytes

minikube and kubectl installation

minikube commands

Start Minikube:

minikube start

Display dashboard:

minikube dashboard

Access to the service:

minikube service <service>

Docker api:

eval $(minikube docker-env)

kubectl commands

Start the service:

kubectl apply -f <service>

List the pod:

kubectl get pod

Forward port:

kubectl port-forward <pod> <port>