minikube config set driver hyperkit
minikube start
kubectx minikube
kubectl create -f namespace.yaml
kubectl config set-context --current --namespace nginx-namespace
eval $(minikube docker-env)
docker build --no-cache -t ubuntu:local .
kubectl run ubuntu-local --image=ubuntu:local --image-pull-policy=Never sleep 100
kubectl get pods
kubectl exec -ti ubuntu-local -- bash
kubectl delete pods ubuntu-local
kubectl create -f pod.yaml
kubectl create -f service.yaml
kubectl describe endpoints nginx-service
kubectl exec -ti nginx-pod -c ubuntu-container -- bash
ifconfig
nslookup nginx-service
curl localhost
kubectl run -ti --rm ubuntu-local --image=ubuntu:local -- bash
curl nginx-service
minikube ssh
ifconfig
curl localhost:30973
kubectl create -f replicaset.yaml
kubectl create -f replicaset-service.yaml
kubectl describe endpoints nginx-replicaset-service