-
Notifications
You must be signed in to change notification settings - Fork 68
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
Improve podCIDR detection #2770
Improve podCIDR detection #2770
Conversation
🤖 Created branch: z_pr2770/sridhargaddam/podcidr-discovery |
dfa8e79
to
2130ada
Compare
This fix is not only for generic clusters but also for calico clusters. |
In K8s, each node is typically assigned a unique PodCIDR range for the pods that run on that node. Each node's PodCIDR is used to allocate IP addresses to the pods scheduled on that node. Only if the cluster is a single node deployment, we should rely on the node.Spec.PodCIDR as podCIDR of the cluster. Related to: submariner-io/submariner#2128 Signed-off-by: Sridhar Gaddam <[email protected]>
2130ada
to
c1e6fab
Compare
🤖 Closed branches: [z_pr2770/sridhargaddam/podcidr-discovery] |
@sridhargaddam Do you think this should be backported? |
Yes @dfarrell07, this will be useful for environments like K3s. I'll handle the backports. |
This PR includes release notes for submariner-io/submariner-operator#2770 Signed-off-by: Sridhar Gaddam <[email protected]>
Release note PR: submariner-io/submariner-website#1037 |
This PR includes release notes for submariner-io/submariner-operator#2770 Signed-off-by: Sridhar Gaddam <[email protected]>
This PR includes release notes for submariner-io/submariner-operator#2770 Signed-off-by: Sridhar Gaddam <[email protected]>
This PR includes release notes for submariner-io/submariner-operator#2770 Signed-off-by: Sridhar Gaddam <[email protected]>
This PR includes release notes for submariner-io/submariner-operator#2770 Signed-off-by: Sridhar Gaddam <[email protected]>
This PR includes release notes for submariner-io/submariner-operator#2770 Signed-off-by: Sridhar Gaddam <[email protected]>
This PR includes release notes for submariner-io/submariner-operator#2770 Signed-off-by: Sridhar Gaddam <[email protected]>
This PR includes release notes for submariner-io/submariner-operator#2770 Signed-off-by: Sridhar Gaddam <[email protected]>
This PR includes release notes for submariner-io/submariner-operator#2770 Signed-off-by: Sridhar Gaddam <[email protected]>
This PR includes release notes for submariner-io/submariner-operator#2770 Signed-off-by: Sridhar Gaddam <[email protected]>
This PR includes release notes for submariner-io/submariner-operator#2770 Signed-off-by: Sridhar Gaddam <[email protected]>
This PR includes release notes for submariner-io/submariner-operator#2770 Signed-off-by: Sridhar Gaddam <[email protected]>
This PR includes release notes for submariner-io/submariner-operator#2770 Signed-off-by: Sridhar Gaddam <[email protected]>
In K8s, each node is typically assigned a unique PodCIDR range for the pods that run on that node. Each node's PodCIDR is used to allocate IP addresses to the pods scheduled on that node. Only if the cluster is a single node deployment, we should rely on the node.Spec.PodCIDR as podCIDR of the cluster.
Related to: submariner-io/submariner#2128
Related to: submariner-io/submariner#2489
Signed-off-by: Sridhar Gaddam [email protected]