Tunneling not working: Windows 11; Docker on Windows; kubernetes / minikube #13296
Labels
kind/support
Categorizes issue or PR as a support question.
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
triage/needs-information
Indicates an issue needs more information in order to work on it.
Tunneling not working for the following configuration.
Please advise if there is a fix:
Windows: Windows 11 Pro
Windows for docker: Docker Desktop 4.3.2 (72729)
Kubernetes: v1.23.0
Minikube: minikube version: v1.24.0
Command sequence:
minikube start --driver=docker
minikube mount C:/kubepgms/pods/resource/test/:/data/configs
minikube ssh
ls -la /data/configs/
(shows test1.yaml)
docker pull nginx:mainline-alpine
docker run -i -t --name nginx-mainline -p 80:80 nginx:mainline-alpine
If you navigate to http://localhost you will get a welcome page.
kubectl create deployment hello-node --image=nginx:mainline-alpine
kubectl get deployments
kubectl get pods
kubectl get events
kubectl expose deployment hello-node --type=LoadBalancer --port=8080
minikube service hello-node
Gives error: ! Because you are using a Docker driver on windows, the terminal needs to be open to run it.
(does not work even if I paste the http address directly into chrome).
C:/kubepgms/pods/resource/test/test1.yaml:
apiVersion: v1
kind: Pod
metadata:
name: nginx
spec:
containers:
image: nginx:1.14.2
ports:
The text was updated successfully, but these errors were encountered: