projectcalico / calico

Cloud native networking and network security
https://docs.tigera.io/calico/latest/about/
Apache License 2.0
6.04k stars 1.35k forks source link

IPv4-Only Pods in Dual-Stack #9491

Open renyunkang opened 4 days ago

renyunkang commented 4 days ago

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 commented 2 days ago

@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