-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
coredns, metrics, nginx and snapshot validation services are always singleStack #4776
Comments
Is traefik also an issue? It's a LoadBalancer service, not ClusterIP, but should probably also use the same policy. |
In k3s, we are already using preferDualStack for traefik as default https://github.com/k3s-io/k3s/blob/master/manifests/traefik.yaml#L40-L41 |
Validated using rke2 version v1.28.3-rc2+rke2r1 (0d0d0e4)Environment DetailsInfrastructure Node(s) CPU architecture, OS, and Version: Cluster Configuration: Config.yaml:
Steps to reproduce the issue and validate the fix
Replication results: Validation results:
Services have ipv6 address, based on the order in node-ip flag in the config.yaml
Services have PreferDualStack in dualstack mode
Pods have ipv6 as well as ipv4 IP
Pods display ipv6 IP
Validated pod to pod communication
|
Environmental Info:
RKE2 Version:
Node(s) CPU architecture, OS, and Version:
Cluster Configuration:
Describe the bug:
This bug is covered by a bigger bug: #4772
When we are in dualStack mode, all these services are SingleStack. We can manually change that but I think it makes more sense if both were dualStack automatically
Steps To Reproduce:
Deploy rke2 in dualStack env and verify what is the IpFamilyPolicy. It is always SingleStack and therefore, the service has only one IP
Expected behavior:
Services in dualStack mode have two IP addresses (ipv4, ipv6)
Actual behavior:
Services in dualStack mode have one IP address (ipv4)
Additional context / logs:
The text was updated successfully, but these errors were encountered: