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

IPv4-Only Pods in Dual-Stack #9491

Open
renyunkang opened this issue Nov 18, 2024 · 2 comments
Open

IPv4-Only Pods in Dual-Stack #9491

renyunkang opened this issue Nov 18, 2024 · 2 comments

Comments

@renyunkang
Copy link

If I've enabled dual-stack networking, how can I configure specific pods to use only IPv4 (single-stack)?

Is there a configuration method to achieve this, or is it currently unsupported?

@mazdakn
Copy link
Member

mazdakn commented Nov 19, 2024

@renyunkang Have you tried 'cni.projectcalico.org/ipAddrsNoIpam' annotation. More information here: https://docs.tigera.io/calico/latest/reference/configure-cni-plugins#requesting-a-specific-ip-address

@renyunkang
Copy link
Author

@renyunkang Have you tried 'cni.projectcalico.org/ipAddrsNoIpam' annotation. More information here: https://docs.tigera.io/calico/latest/reference/configure-cni-plugins#requesting-a-specific-ip-address

Thank you for your response. @mazdakn "NoIpam" is not the desired outcome. I still want Calico to automatically manage IP addresses (IPAM), but I need a configuration option to specify which namespaces or pods should only use IPv4, instead of both IPv4 and IPv6, even with dual-stack enabled.

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

No branches or pull requests

2 participants