kubectl apply -f ./deployment.yaml kubectl expose deployment tomcat-deployment --type=NodePort minikube service tomcat-deployment --url curl <URL>
Unable to connect to the server: dial tcp 192.168.99.100:8443: i/o timeout
Solution:
Ensure minikube is up before running any kubectl
command
minikube status
minikube start