networking - Is it possible to join a hardware in the same subnet with Kubernetes pods? -
i have setup kubernetes cluster flannel network on bare metal. have service deployed , running in cluster. service broadcast discover other end devices in same subnet.
the problem client agents receives broadcasts running on resource-constrained hardware. these devices running in same subnet master , worker nodes. deployed service in pods (netmask: 10.244.0.0/16) unable discover clients running in host os subnet (netmask: 192.168.0.0/24). how join clients in pods' subnet?
any appreciate.
the issue in different subnets: pod network , bare-metal network. therefore have check options available service discovery between different subnets. propose use of tracker (just p2p networks work) https://serverfault.com/a/304344/380575.
you try adding external services/endpoints services running outside cluster, quite uncertain work.
bottom line: if need services in other subnets, can either use tracker or create static endpoints them.
Comments
Post a Comment