kubernetes: PodFitsHostPorts fail on same hostPort, different hostIP
/kind bug
Hi I’ve posted PR few months ago #39369 - regarding validating against combination of hostPort:protocol:hostIP. It seems that something similar is back, this time with Predicates.
The issue is in plugin/pkg/scheduler/algorithm/predicates/predicates.go
in PodFitsHostPorts:880
- it checks only for ports and not for IPs they listen on.
I will try to get PR for this but not if it will be soon.
Basically: one pod SHOULD be able to listen on: 10.1.1.1:8080 10.1.1.2:8080
right now it gets denied with PodFitsHostPorts error. It was working back in 1.5 or whichever release was in February this year. It seems to have been broken around 1.7.0 release based on Git Blame.
Ashley
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 17 (17 by maintainers)
@CallMeFoxie as the pr #52421 has been merged, you can now deploy pod with different
hostip:hostPort:protocol
combination now.