Execute Custom Image on MiniKube Local Machine


1. Start Minikube

minikube start


2. Verify Minikube is runnung

kubectl get node


3. Start the Deployment on Kubernetes Cluster.

kubectl create deployment magicalnginx --image=anshuldevops/magicalnginx



4. Get Information of Running Deployments

kubectl get deployments


5. Describe the Running Deployment

kubectl describe deployment magicalnginx



6. Make the NGINX container accessible via the internet:

kubectl create service nodeport magicalnginx --tcp=80:80


7. Get Running Services

kubectl get svc


8. Get Service access point

minikube service magicalnginx --url


9. Remove Services

kubectl delete services magicalnginx


10. Remove Deployment

kubectl delete deployment magicalnginx