flannel-io / flannel

flannel is a network fabric for containers, designed for Kubernetes
Apache License 2.0
8.61k stars 2.87k forks source link

Added additional check for n.spec.podCIDRs #1890

Closed rbrtbnfgl closed 4 months ago

rbrtbnfgl commented 4 months ago

Description

Added additional chek to verify that n.spec.podCIDRs is rightly configured on the node

Todos

Release Note

None required
manuelbuil commented 4 months ago

Did you find a config where this happens?

rbrtbnfgl commented 4 months ago

Here https://github.com/k3s-io/k3s/issues/9569 It shouldn't happen when flannel runs as a pod because the check is done before. When using K3s that directly calls the flannel function it misses the other checks.