2021年4月24日星期六

How to connect an ip on the same network segment without in cluster?

I already deploy a k8s cluster in virtual machines, environment like below:

master: 192.168.18.14 node1: 192.168.18.15 node2: 192.168.18.16

and cluster ip is

I have deployed the service in the virtual machine. When I want to access the 192.168.18.14 service in the node1 container, the tcp access will time out.

So what should I do to connect the container to the virtual machine?

https://stackoverflow.com/questions/67249665/how-to-connect-an-ip-on-the-same-network-segment-without-in-cluster April 25, 2021 at 12:05PM

没有评论:

发表评论