Skip to content

tests: add minimal_gce_ipv6 integration test - #18769

Merged
kubernetes-prow[bot] merged 1 commit into
kubernetes:masterfrom
justinsb:minimal-gce-ipv6-test
Sep 1, 2026
Merged

tests: add minimal_gce_ipv6 integration test#18769
kubernetes-prow[bot] merged 1 commit into
kubernetes:masterfrom
justinsb:minimal-gce-ipv6-test

Conversation

@justinsb

@justinsb justinsb commented Sep 1, 2026

Copy link
Copy Markdown
Member

What this does

Adds a golden integration test (TestMinimalGCEIPv6 / tests/integration/update_cluster/minimal_gce_ipv6) for an IPv6 GCE cluster with private topology. The golden terraform output locks in the current GCE IPv6 rendering:

Why networking.cni rather than kindnet

While writing this I found that kindnet on GCE takes the IP-alias path (gce.UsesIPAliases), where performNetworkAssignmentsIPAliases unconditionally overwrites nonMasqueradeCIDR: ::/0 with 10.0.0.0/8 when pod/service CIDRs aren't preset — silently turning an IPv6 cluster spec back into an IPv4 cluster. Until that's fixed, a kindnet-based IPv6 scenario would just render an IPv4 cluster, so this test uses networking.cni (matching minimal_gce_private). I'll file the IP-alias/IPv6 issue separately.

Part of #17840

/kind cleanup
/area provider/gcp

Adds a golden integration test for an IPv6 GCE cluster with private
topology, covering the dual-stack subnet configuration (stackType
IPV4_IPV6, ipv6AccessType EXTERNAL) and the CloudNAT router.

The scenario uses networking.cni rather than kindnet because kindnet
on GCE uses the IP-alias path, where performNetworkAssignmentsIPAliases
currently overwrites nonMasqueradeCIDR (::/0) with 10.0.0.0/8, silently
turning the cluster back into IPv4.
@kubernetes-prow kubernetes-prow Bot added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. area/provider/gcp Issues or PRs related to gcp provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Sep 1, 2026
@kubernetes-prow kubernetes-prow Bot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 1, 2026
@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman

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

@kubernetes-prow kubernetes-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 1, 2026
@kubernetes-prow
kubernetes-prow Bot merged commit 3140c22 into kubernetes:master Sep 1, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/provider/gcp Issues or PRs related to gcp provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants