Updates in the calico config and template to support disabling ipv4 pools during pure ipv6 deployment#13225
Updates in the calico config and template to support disabling ipv4 pools during pure ipv6 deployment#13225AbhiiTen wants to merge 3 commits into
Conversation
…upport disabling ipv4 pools during pure ipv6 deployment Signed-off-by: root <kanyahal.abhishek@gmail.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: AbhiiTen The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Welcome @AbhiiTen! |
|
Hi @AbhiiTen. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
…ools during pure ipv6 deployment
|
/ok-to-test |
|
/retest-failed |
…ools during pure ipv6 deployment
|
/retest-failed |
|
I don't know why status of that job didn't reported! but it was successful. |
|
/retest-failed |
|
/lgtm |
What type of PR is this?
/kind bug
/kind feature
What this PR does / why we need it:
Currently, when attempting a pure IPv6 deployment, Calico still attempts to allocate IPv4 addresses and utilize IPv4 CIDR pools
This PR updates the Calico configurations to correctly handle pure IPv6 stacks by:
CALICO_IPV4POOL_CIDRto"none"in the node environment variables when IPv4 is disabled.calico-config.yml.j2to explicitly setassign_ipv4to"false"andassign_ipv6to"true"during pure IPv6 deployments.Which issue(s) this PR fixes:
Fixes #13157
Special notes for your reviewer:
Please double-check the Jinja2 logic for dual-stack vs single-stack assignments to ensure it doesn't break existing IPv4-only or Dual-Stack clusters.
Does this PR introduce a user-facing change?: