kubernetes: hostPort not work for windows cluster
What happened:
We configured hostPort for Pod in windows cluster base on k8s 1.14.10, but it does not work
What you expected to happen:
We can access the container port through hostPort
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
- Kubernetes version (use
kubectl version):1.14.10 - Cloud provider or hardware configuration:
- OS (e.g:
cat /etc/os-release): - Kernel (e.g.
uname -a): - Install tools:
- Network plugin and version (if this is a network-related bug):
- Others:
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 1
- Comments: 15 (9 by maintainers)
I have implemented for overlay. I would send a PR later
Hi - I am facing the same issue using flannel - overlay. container port to host port doesn’t work. This PR https://github.com/containernetworking/plugins/pull/475 seems to add support in win-bridge but not for win-overlay. Can this be supported for win-overlay as well ?