Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subnet.env content mismatch configuration #177

Open
perrefe opened this issue Apr 25, 2019 · 0 comments
Open

subnet.env content mismatch configuration #177

perrefe opened this issue Apr 25, 2019 · 0 comments

Comments

@perrefe
Copy link

perrefe commented Apr 25, 2019

After created a new cluster with cctl using --pod-network 192.168.5.0/16 --service-network 192.169.0.0/24 as options the host flannel.1 interface gets the inet address 192.168.0.0/32 and cni0 gets 192.168.0.1/24 which became in conflict with my network.

Inside the flannel container the /run/flannel/subnet.env file content is:

FLANNEL_NETWORK=192.168.0.0/16
FLANNEL_SUBNET=192.168.0.1/24
FLANNEL_MTU=1450
FLANNEL_IPMASQ=true

and the /etc/kube-flannel/net-conf.json file is:

{
  "Network": "192.168.5.0/16",
  "Backend": {
    "Type": "vxlan"
  }
}

Can you figure what is going on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant