-
Notifications
You must be signed in to change notification settings - Fork 379
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
Introduce configuration changes for the ipv6 support #673
Conversation
7698ed3
to
13bc5b7
Compare
ff54708
to
31aef81
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few minor tweaks needed
d48a0cf
to
6e9fc8a
Compare
Could you allow dual stack mode for My config: network:
provider: custom
dualStack:
enabled: true
IPv6podCIDR: "fd00::/108"
IPv6serviceCIDR: "fd01::/108" EDIT: I got it working by specifying bird calico config even though I'm using a custom network provider. Like this: network:
provider: custom
dualStack:
enabled: true
IPv6podCIDR: "fd00::/108"
IPv6serviceCIDR: "fd01::/108"
calico:
mode: "bird" But that's not the ideal solution. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great! Thank you for your work!
I tested:
- reaching the exposed port of a nodeport from a pod using the nginx image
- pod interconnectivity with pods in other nodes
- connectivity to the internet from a pod
6e9fc8a
to
ca48a34
Compare
@unixfox should be fixed in latest version |
Pass CIDR as separate ENV variables for calico-node Change default node-cidr-mask-size-ipv6 to be a smaller size value Enable CALICO_IPV6POOL_NAT_OUTGOING for dualstack setup Change kube-proxy to ipvs in case of dual-stack setup Signed-off-by: Mikhail Sakhnov <msakhnov@mirantis.com>
Add documentation Signed-off-by: Mikhail Sakhnov <msakhnov@mirantis.com>
Fix unit tests for kubelet profile Go mod tidy Signed-off-by: Mikhail Sakhnov <msakhnov@mirantis.com>
ca48a34
to
6840cd2
Compare
…ult values Signed-off-by: Mikhail Sakhnov <msakhnov@mirantis.com>
6840cd2
to
feb9512
Compare
@unixfox thank you for the help with testing things! |
Pass CIDR as separate ENV variables for calico-node
Change default node-cidr-mask-size-ipv6 to be a smaller size value
Enable CALICO_IPV6POOL_NAT_OUTGOING for dualstack setup
Change kube-proxy to ipvs in case of dual-stack setup
closes #394
The changes here enable to create ipv6\ipv4 dualstack setup
Limitations:
curl -6 ipv6.google.com
will work from any pod)Additional links used during this PR:
https://www.projectcalico.org/dual-stack-operation-with-calico-on-kubernetes/
https://docs.projectcalico.org/networking/ipv6
https://kubernetes.io/docs/tasks/network/validate-dual-stack/ (this one mentions how to create dual\single stack services)
https://kubernetes.io/docs/concepts/services-networking/dual-stack/
In case of testing this on AWS the source\destination checks must be disabled on the interface.
k0s.yaml used: