Skip to content
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

contrib: Set IPv6 for dual-stack Kubenetes nodeIP on dev VM #23543

Merged
merged 1 commit into from Feb 22, 2023

Conversation

jschwinger233
Copy link
Member

@jschwinger233 jschwinger233 commented Feb 2, 2023

The development setup using the provided Vagrantfile will give a dual-stack Kubernetes cluster in the dev VM, but a hostNetwork pod deployed on it cannot show an IPv6 address.

This is because the kubelet is deployed using the incomplete --node-ip parameter: to enable dual-stack mode, we must pass both IPv6 address and IPv4 address via --node-ip to kubelet.

This PR completes the --node-ip parameter and fixes the issue.

Signed-off-by: Zhichuan Liang gray.liang@isovalent.com

Fixes: #23503

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Feb 2, 2023
@github-actions github-actions bot added the kind/community-contribution This was a contribution made by a community member. label Feb 2, 2023
@jschwinger233 jschwinger233 marked this pull request as ready for review February 2, 2023 17:23
@jschwinger233 jschwinger233 requested a review from a team as a code owner February 2, 2023 17:23
@pchaigno pchaigno added release-note/misc This PR makes changes that have no direct user impact. sig/contributing Impacts contribution workflow, guidelines, and tools. feature/ipv6 Relates to IPv6 protocol support labels Feb 2, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Feb 2, 2023
@jschwinger233 jschwinger233 force-pushed the gray/fix-node-ipv6 branch 3 times, most recently from 056493f to 7b12d3f Compare February 9, 2023 15:26
Copy link
Member

@aditighag aditighag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the checkpatch warning -

Error: ERROR:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'zc greyschwinger@gmail.com'

I'll lean on Paul's review here as I haven't had to use IPv6 setup recently.

@aditighag aditighag requested review from aditighag and removed request for aditighag February 10, 2023 10:09
@jschwinger233 jschwinger233 force-pushed the gray/fix-node-ipv6 branch 2 times, most recently from adb1ee0 to 68e2537 Compare February 13, 2023 02:49
The development setup using the provided Vagrantfile will give a
dual-stack Kubernetes cluster in the dev VM, but a hostNetwork pod
deployed on it cannot show an IPv6 address.

This is because the kubelet is deployed using the incomplete `--node-ip`
parameter: to enable dual-stack mode, we must pass both IPv6 address and
IPv4 address via `--node-ip` to kubelet.

This commit completes the `--node-ip` parameter and fixes the issue.

Fixes: cilium#23503

Signed-off-by: Zhichuan Liang <gray.liang@isovalent.com>
@pchaigno pchaigno merged commit 1731f2a into cilium:master Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/ipv6 Relates to IPv6 protocol support kind/community-contribution This was a contribution made by a community member. release-note/misc This PR makes changes that have no direct user impact. sig/contributing Impacts contribution workflow, guidelines, and tools.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

devVM: set IPv6 podIP for hostNetwork pods
3 participants