-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External Ip and Node port not accessible in Kubernetes on Docker for windows #1950
Comments
Hi @dheerajjoshim |
I have the similar issue: azureuser@k8s-master-26985512-0:~$ kubectl get nodes azureuser@k8s-master-26985512-0:~$ kubectl get pods -o wide NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE Master IP is 10.240.255.5, access the node port on the master is fine. Windows Container Web ServerIP 10.244.1.25 callerCount 7 Login on to the Node which ip is 10.140.0.4 and get the following error: PS C:\Users\azureuser> curl 10.140.0.4:30726
|
Diagnostic ID |
Removed all pods. And re did everything again. EEFFC398-6258-4933-9006-7C1798D6B525/2018-04-17_08-43-58 |
Any help is appreciated. I am kinda stuck here. |
Did any one find the solution to this issue? |
In my case. I had installed nginx ingress to solve this problem.
I had to use kubernets/nginx-ingress.
…On Fri 15 Jun, 2018, 9:15 PM chaima-ennar, ***@***.***> wrote:
Did any one find the solution to this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1950 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA5mdeeceyy3bHqkbOBBzNj4SevfZCv9ks5t89aRgaJpZM4TV0jE>
.
|
I am also having this issue. |
+1 |
I am also having this issue. Please review! |
Was facing the same issue on Centos 7, however this fixed it. I was using a custom IP and range for flannel: Looks like using a /16 is what it wants To reset I did the following kubeadm reset kubeadm init --pod-network-cidr 10.244.0.0/16 |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
/remove-lifecycle stale |
Hi, I'm facing the same issue and tried to use nginx-ingress to solve it too but still isn't working, can u explain how u did it? maybe posting the yaml? thanks! |
Nginx default backend
Nginx Ingress controller
This is the configuration i had used. |
No, ClusterIP is a psudo address which can be used in POD network. It is not a node's address. And Node is the VM running on Hyper-V, not Windows host. This is the same as minikube in Linux. |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
I am trying with minikube on Windows 10. I am able to create replication controller, pod, service successfully. I don't know how to access a simple nodejs app from my windows chrome browser! Please help. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
I am running docker for windows Edge channel to experiment with kubernetes in docker.
I am having a service running in kubernetes
Service description
As you can see the IP is
10.103.61.133
and Node-Port is31492
So I would expect
http://10.103.61.133:31492
to work. But10.103.61.133
is not accessible at all.And
http://localhost:8665
is accessible. Ins'thttp://CLUSTER_IP:NODE_PORT
be accessible?Is it problem with windows port mapping? I tried adding a firewall rule for port
31492
. But no luckExpected behavior
http://CLUSTER_IP:NODE_PORT
be accessibleActual behavior
http://EXTERNAL_IP:PORT
is accessibleThe text was updated successfully, but these errors were encountered: