Skip to content
This repository was archived by the owner on Dec 31, 2025. It is now read-only.
This repository was archived by the owner on Dec 31, 2025. It is now read-only.

subnet.env content mismatch configuration #177

Description

@perrefe

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions