minikube start
kubectl
kubectl cluster-info
kubectl get nodes
kubectl get pod
kubectl get service
or
kubectl get svc
kubectl get deployment
or
kubectl get deploy
kubectl get pod --all-namespaces
kubectl get svc --all-namespaces
kubectl get deploy --all-namespaces
kubectl get namespace
kubectl run nginx-pod --image=nginx:latest --port=80
kubectl expose pod nginx-pod --type=NodePort --port=80
minikube service nginx-pod
kubectl delete pod/nginx-pod
kubectl delete svc/nginx-pod
- /cd manifest
kubectl apply -f nginx-pod.yaml
kubectl apply -f nginx-service.yaml
minikube service nginx-service
minikube stop