-
Notifications
You must be signed in to change notification settings - Fork 717
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
Dual-Stack support for Kubeadm #1612
Comments
thanks for logging the ticket @Arvinderpal @aojea please take a look and communicate with @Arvinderpal who wishes to add dual stack support in kubeadm. /assign @aojea @Arvinderpal |
@neolit123: GitHub didn't allow me to assign the following users: aojea. Note that only kubernetes members and repo collaborators can be assigned and that issues/PRs can only have 10 assignees at the same time. In response to this:
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/test-infra repository. |
the IPV6 PRs merged in kind. |
been keeping an eye on the dual stack work for exactly this @neolit123 👀 |
/cc |
progagates the kubeadm FG to the individual k8scomponents on the control-plane node. * Note: Users who want to join worker nodes to the cluster will have to specify the dual-stack FG to kubelet using the nodeRegistration.kubeletExtraArgs option as part of their join config. Alternatively, they can use KUBELET_EXTRA_ARGS. kubeadm FG: kubernetes/kubeadm#1612
@neolit123 @aojea
|
great catch, I think so, or your hostnetwork pods will be single-stack, that can be a problem ... |
well, given kubeadm already supports passing kubelet config / flags we should just document how users can do that (KubeletConfiguration == preferred). arguably the kubeadm flag --node-name should not exist for similar reasons, but it's already there. |
documentation is fine, I didn't want to mean to create a new option |
@neolit123 node-ips auto detect should be a kubelet feature in my mind. |
the user has to specify the IP addresses of each family, separated by comma, there is no autodetect for dual-stack |
Per kubernetes/enhancements#563 (comment), it will wait to 1.23 |
looks like the FG is moving to GA in 1.23: this mean we can remove the kubeadm FG + handling in kubeadm in 1.24 or later. |
In 1.23 kubeadm, we may change the FG to hidden like below after kubernetes/kubernetes#104691 is merged.
|
Folks -- Do you want me to address gate removal in PR kubernetes/kubernetes#104691 - or do you want to take care of it separatly? |
for 1.23 in kubeadm we should just change this line: to be exactly this:
^ IMO, the cleanup of logic around the seems like core generally prefers to remove the FG logic when a FG goes GA and not when the FG is removed - e.g.: |
Yes. Either is ok(in 1.23 or 1.24). @khenidak As Lubomir points out, you can just update the cmd/kubeadm/app/features/features.go#L42. The removal of the FG logic in kubeadm can be done in your PR or a separate PR which is just a cleanup. Either is OK. |
Ok - I will update the feature file. But will not touch the rest. Thank you. |
we cleaned up the feature gate from kubeadm (1.24): thanks everyone for helping with this. |
Is this a BUG REPORT or FEATURE REQUEST?
FEATURE REQUEST
In order to support the forthcoming dual-stack work, certain changes must be made to kubeadm so that it can create dual-stack clusters. The dual-stack KEP (kubernetes/enhancements#808) has a section on changes required in kubeadm.
Phase-1 Tasks:
--cluster-cidr
support for comma delimited list of IPs Dual-Stack Integration with Kubeadm kubernetes#79033--cluster-cidr
/PodSubnet
changes kubeadm e2e networking test for dual-stack podSubnet check. kubernetes#80947Phase-2 Tasks:
service-cluster-ip-range
support for dual-stack. Kubeadm DualStack Support for List of Service IPs kubernetes#82473service-cluster-ip-range
(these are in kind upstream)Kubeadm/dual stack support in 1.21 website#26675
Additional Tasks:
node-cidr-mask-size
to kube-controller manager needs to support a list of CIDRs. This currently defaults to /24 (for both ipv4 and ipv6). FunccalcNodeCidrSize
must be updated to handle dual-stack. Add support for new dual-stack flags for kubernetes-controller-manager in kubeadm kubernetes#85609Kubeadm incorrectly calculating the node CIDR in cases when the given podSubnet smaller than /24 #2327
support variable sized pod-CIDRs for different-sized node (was: Allow --node-cidr-mask-size to change: make NodeIPAM controller support variable sized CIDRs) kubernetes#90922
fixed in:
kubernetes/kubernetes@8b52995#diff-d870edeb820f49abf2f52cd357a8a5396c7cd1a36e024d339146e512186c7297
GA (1.23):
apiserver-advertise-address
support for dual-stacklooks like this is no longer a goal
move IPv6DualStack feature to stable. kubernetes#104691
cleanup: DualStack GA for kubeadm kubernetes#104770
post-GA (1.24)
https://github.com/kubernetes/website/blob/082116588c191f52de2003deb71ce7a304cc357d/content/en/docs/setup/production-environment/tools/kubeadm/dual-stack-support.md
The text was updated successfully, but these errors were encountered: