Repository navigation
ci(e2e): run conformance on an IPv6-first k3s cluster - #5724
Draft
matthewgrossman wants to merge 8 commits into
Draft
matthewgrossman wants to merge 8 commits into
matthewgrossman wants to merge 8 commits into
Conversation
QEMU user networking defaults to the site-local fec0::/64, which Linux ranks below any global address. On a dual-stack K3s guest the node then sends to IPv6 Services from flannel's address and never gets the reply. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
…lues in the k3s installers Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
3 tasks
Member
Author
|
/ok to test 9073847 |
|
Label |
…eway address Create an empty environment Helm values file when the environment has none, so the Helm command is a plain list. Name the gateway IP and port before bracketing an IPv6 address. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Member
Author
|
/ok to test e30f2e2 |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a tmachine environment,
ubuntu-k3s-ipv6, with a dual-stack K3s cluster that uses IPv6 first, and run the conformance suite on it with thek3s-hainstaller. This covers OpenShell on IPv6 Kubernetes without adding a kind-based lane.Related Issue
Closes #5698
Changes
fd00:10::/64instead of its defaultfec0::/64. Linux ranks the site-localfec0::below other addresses, so on a dual-stack guest the node sent traffic to IPv6 Services from flannel's address and never got the reply.ipv6feature environment on theubuntu-k3sbase (k3s-ipv6.yaml). It configures K3s with IPv6-first pod and Service ranges, checks the node can reach a pod through an IPv6 Service, and resets the cluster before the disk is cached./etc/openshell-test/helm-values.yaml(gateway and supervisorlistenAddress: "::"). Thek3sandk3s-hainstallers apply that file last when it exists.k3s-reset.yamlso both setup playbooks share them.ubuntu-k3sis unchanged.conformanceonubuntu-k3s-ipv6withk3s-ha.TESTING.mddocuments the environment Helm values file.Testing
Ran locally on an arm64 Mac:
ubuntu-k3s-ipv6setup: about 3 minutes cold.conformancewithk3s-ha: 49/49 pass with feat(helm): support IPv6 listen addresses for the gateway and shared supervisor #5669 and fix(server): bracket IPv6 pod IPs in the gateway peer endpoint #5674 (about 15 minutes).invalid gateway peer endpoint: invalid URI.k3sinstaller also passes 49/49. It is the only path that connects to the bracketed IPv6 gateway URL; its row is left out to keep CI time down, since thek3s-harow catches both gateway fixes.cargo fmt --checkand clippy pass, and the changed playbooks passansible-playbook --syntax-check.Sandbox egress to an IPv6 address (#5696) is not covered by conformance; it needs a separate test.
Checklist