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 retrieval should be more flexible #2023

Closed
johnlanni opened this issue Aug 27, 2021 · 1 comment
Closed

Subnet retrieval should be more flexible #2023

johnlanni opened this issue Aug 27, 2021 · 1 comment
Milestone

Comments

@johnlanni
Copy link
Contributor

johnlanni commented Aug 27, 2021

Hi, when I enable the Calico CNI in k8s , the subnet of the pods’ IPs can’t be obtained by telepresence exactly. I found some information about the Pod’s CIDR and Calico:

https://docs.projectcalico.org/networking/get-started-ip-addresses
projectcalico/calico#2592 (comment)

It seems we must enable the Host-local IPAM, then Calico will use the Node.Spec.PodCIDR for pod.
I think the logic of Deriving subnets from IPs of pods should be configureable, then we no need to enable the Host-local IPAM plugin.

image

Or check whether Calico is deployed in the cluster, and obtain the CIDR from Calico’s blockaffinities, then adding to the pods' CIDRs.

image

@efunk
Copy link
Contributor

efunk commented Sep 27, 2021

Resolved in Telepresence 2.4.4 GA

@efunk efunk closed this as completed Sep 27, 2021
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

2 participants