Answer the question
In order to leave comments, you need to log in
How to bind service to IP in Rancher (Kubernetis)?
Given:
- server with rancher
- server with rancher-agent and 4 ip (actually it's a server with Kubernetes cluster)
How to tell rancher-agent that a host has multiple IPs?
It binds to 0.0.0.0. Accordingly, one port cannot be used for different services on different ip.
hostPort binds to all ip addresses of the host, without the ability to select a specific one.
https://github.com/rancher/rancher/issues/14550 the option to specify ip along with the port does not help
. Is it possible to use ip separately somehow? So that I have one instance of the service on ip2:65, and another on ip3:65?
That is, I need to bind the workload not just to a port, like a nodeport or hostport, but also to bind it to a specific ip.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question