0

In my kubernetes cluster I have a flannel overlay configured. the iptables on the master node and the minions are not the same. I understand that this is by design but it creates the problem that pods can't run on the master node: on the master, external IP addresses (for a service) are not resolved.

On the minions there is a KUBE-PORTALS-CONTAINER and KUBE-PORTALS-HOST chain which redirects service cluster and external IP addresses. Static routes redirect this traffic to the master which actually resolves the addresses. On the master there isn't the 2 chains mentioned above but instead there is a KUBE-SERVICES chain which resolves services IPs to pod IP addresses.

Is there a way to configure the master node to have the chains that the nodes have as well as the service resolution chain too?

4

1 回答 1

1

Pod 在 Kubernetes 节点(以前称为 minions)上运行,但不在 master 上,请参阅Kubernetes 架构。您可能还会发现调试服务文档很有帮助。

于 2016-04-12T23:52:56.547 回答