Skip to content

CORS-4220: pass dualstack cluster cidrs as an comma-separated list argument#889

Merged
openshift-merge-bot[bot] merged 1 commit intoopenshift:mainfrom
tthvo:CORS-4220
Feb 19, 2026
Merged

CORS-4220: pass dualstack cluster cidrs as an comma-separated list argument#889
openshift-merge-bot[bot] merged 1 commit intoopenshift:mainfrom
tthvo:CORS-4220

Conversation

@tthvo
Copy link
Copy Markdown
Member

@tthvo tthvo commented Oct 31, 2025

kube-controller-manager expects the dualstack cluster and service CIDRs to be passed as comma-separated list arguments according to the kubernetes IPv4/IPv6 documentation.

This ensures the dualstack cluster and service cidrs are indeed passed as comma-separated lists.

Notes

There was previous unmerged work due to inactivity: #745, which has more details on why we need this.

Related Information

Tested with openshift/installer#9930

kube-controller-manager pod logs:

I1031 00:34:49.550011       1 flags.go:64] FLAG: --cluster-cidr="10.128.0.0/14,fd01::/48"
...output-omitted...
I1031 00:34:49.551226       1 flags.go:64] FLAG: --service-cluster-ip-range="172.30.0.0/16,fd02::/112"
...output-omitted...

KubeControllerManager CR is rendered:

$ oc get kubecontrollermanager cluster -o yaml | yq .spec
logLevel: Normal
managementState: Managed
observedConfig:
  extendedArguments:
    cluster-cidr:
      - 10.128.0.0/14,fd01::/48
    service-cluster-ip-range:
      - 172.30.0.0/16,fd02::/112
...output-omitted...

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Oct 31, 2025
@openshift-ci-robot
Copy link
Copy Markdown

openshift-ci-robot commented Oct 31, 2025

@tthvo: This pull request references CORS-4220 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set.

Details

In response to this:

kube-controller-manager expects the dualstack cluster and service CIDRs to be passed as comma-separated list arguments according to the kubernetes IPv4/IPv6 documentation.

This ensures the dualstack cluster and service cidrs are indeed passed as comma-separated lists.

Notes

There was previous unmerged work due to inactivity: #745, which has more details on why we need this.

Related Information

Tested with openshift/installer#9930

kube-controller-manager pod logs:

I1031 00:34:49.550011       1 flags.go:64] FLAG: --cluster-cidr="10.128.0.0/14,fd01::/48"
...output-omitted...
I1031 00:34:49.551226       1 flags.go:64] FLAG: --service-cluster-ip-range="172.30.0.0/16,fd02::/112"
...output-omitted...

KubeControllerManager CR is rendered:

$ oc get kubecontrollermanager cluster -o yaml | yq .spec
logLevel: Normal
managementState: Managed
observedConfig:
 extendedArguments:
   cluster-cidr:
     - 10.128.0.0/14,fd01::/48
   service-cluster-ip-range:
     - 172.30.0.0/16,fd02::/112
...output-omitted...

Instructions 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 openshift-eng/jira-lifecycle-plugin repository.

@tthvo
Copy link
Copy Markdown
Member Author

tthvo commented Oct 31, 2025

/jira refresh

@openshift-ci-robot
Copy link
Copy Markdown

openshift-ci-robot commented Oct 31, 2025

@tthvo: This pull request references CORS-4220 which is a valid jira issue.

Details

In response to this:

/jira refresh

Instructions 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 openshift-eng/jira-lifecycle-plugin repository.

@tthvo
Copy link
Copy Markdown
Member Author

tthvo commented Oct 31, 2025

/cc @sadasu @mkowalski

…d lists

kube-controller-manager expects the dualstack cluster and service CIDRs
to be passed as comma-separated list arguments [0].

This ensures the dualstack cluster and service cidrs are indeed passed
as comma-separated lists.

References

[0] https://kubernetes.io/docs/concepts/services-networking/dual-stack/#configure-ipv4-ipv6-dual-stack
@mkowalski
Copy link
Copy Markdown

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 21, 2025
@tthvo
Copy link
Copy Markdown
Member Author

tthvo commented Dec 3, 2025

/verified by @tthvo

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Dec 3, 2025
@openshift-ci-robot
Copy link
Copy Markdown

@tthvo: This PR has been marked as verified by @tthvo.

Details

In response to this:

/verified by @tthvo

Instructions 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 openshift-eng/jira-lifecycle-plugin repository.

@sadasu
Copy link
Copy Markdown

sadasu commented Feb 17, 2026

@atiratree , @deads2k , @ingvagabund Could you PTAL?

@sadasu
Copy link
Copy Markdown

sadasu commented Feb 17, 2026

/retest

@ingvagabund
Copy link
Copy Markdown
Member

I don't have the right expertise in the area to decide whether the change is valid.

I assume @mkowalski has the right expertise here. So is the request just about approving the PR or is it more about providing additional networking related review?

@sadasu
Copy link
Copy Markdown

sadasu commented Feb 18, 2026

@ingvagabund, currently the need is for an approval.

@ingvagabund
Copy link
Copy Markdown
Member

ingvagabund commented Feb 18, 2026

After a quick exchange of PMs on Slack I was assured the review is not about correctness but rather providing a final approval label. The changes were validated through tests and the correctness verified by @mkowalski.

/approve

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Feb 18, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ingvagabund, mkowalski, tthvo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 18, 2026
@sadasu
Copy link
Copy Markdown

sadasu commented Feb 18, 2026

/label acknowledge-critical-fixes-only

These changes are required for the DualStack on AWS which is a high priority feature for 4.22. Azure and GCP are close behind.

@openshift-ci openshift-ci bot added the acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. label Feb 18, 2026
@tthvo
Copy link
Copy Markdown
Member Author

tthvo commented Feb 18, 2026

/tide refresh

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Feb 19, 2026

@tthvo: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions 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. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit 99f17e6 into openshift:main Feb 19, 2026
13 checks passed
@tthvo tthvo deleted the CORS-4220 branch February 19, 2026 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants