-
Environmental Info:
Node(s) CPU architecture, OS, and Version:
Cluster Configuration: Total of 3 servers using the embedded etcd. I am using Calico 3.25 instead of Flannel. Describe the bug: While the node is working fine -- all network functionality, pod scheduling, service routing, etc -- it is constantly logging CIDRNotAvailable events. I can't find any mention in the k3s logs of any network issues that could be causing this. If I didn't see this in the
Steps To Reproduce: Not sure, but if someone could point me in the direction of troubleshooting further, I'd appreciate it. Expected behavior: I expect this event not to be logged :-) Additional info:
Also -- I opened an issue with Project Calico, but they don't think this is being caused by the calico software. See projectcalico/calico#7722 Thanks :-) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
Why the tiny CIDRs? The default node CIDR mask is /24, so with a /23 cluster-cidr you only have enough addresses for two nodes in your cluster. You've also only allocated yourself enough space for 255 ClusterIP services. You should rebuild your cluster with more reasonable CIDR blocks. |
Beta Was this translation helpful? Give feedback.
-
@BhautikChudasama thanks for replying! I never did end up fixing this as it was just on a personal cluster and it didn't matter THAT much. But, seeing how I messed up the args, I may give this another shot. Good job! |
Beta Was this translation helpful? Give feedback.
Why the tiny CIDRs? The default node CIDR mask is /24, so with a /23 cluster-cidr you only have enough addresses for two nodes in your cluster. You've also only allocated yourself enough space for 255 ClusterIP services.
You should rebuild your cluster with more reasonable CIDR blocks.