How to correctly create Overlay and Underlay networks in the same cluster? #410
-
When the Overlay and Underlay networks are created in the same cluster, how to configure the clustercidr of kube-proxy? I am encountering an issue when the clustercidr is set to 10.233.64.0/18, the underlay network is configured properly, a subnet 172.31.15.0/24 with vlan id 15 is created, but when a pod uses this to access the Kubernetes API, an error occurs:
The key points are:
Could you please help me find out if there is something wrong with the configuration? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hi @renyunkang, I'm wondering if the service CIDR is overlapped with your overlay pod CIDR? That might cause problem like this. |
Beta Was this translation helpful? Give feedback.
There might be some problems with kube-proxy configuration. What's the
masqueradeBit: 14
for? Can you try to remove it?