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

Enable IPv6 forwarding in default OSPs #298

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

ahmedwaleedmalik
Copy link
Member

What this PR does / why we need it:
Enable forwarding for IPv6 interfaces if the machines support IPv6.

Which issue(s) this PR fixes:

Fixes #

What type of PR is this?

Special notes for your reviewer:

Does this PR introduce a user-facing change? Then add your Release Note here:

Enable forwarding for IPv6 interfaces if the machines support IPv6.

Documentation:

NONE

Signed-off-by: Waleed Malik <ahmedwaleedmalik@gmail.com>
@ahmedwaleedmalik ahmedwaleedmalik self-assigned this Jul 12, 2023
@kubermatic-bot kubermatic-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. docs/none Denotes a PR that doesn't need documentation (changes). dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. sig/osm Denotes a PR or issue as being assigned to SIG OSM. labels Jul 12, 2023
@kubermatic-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahmedwaleedmalik

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubermatic-bot kubermatic-bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 12, 2023
Comment on lines +420 to +423
# Configure Linux to accept router advertisements to ensure the default
# IPv6 route is not removed from the routing table when the Docker service starts.
# For more information: https://github.com/docker/for-linux/issues/844
net.ipv6.conf.all.accept_ra = 2
Copy link
Member Author

@ahmedwaleedmalik ahmedwaleedmalik Jul 12, 2023

Choose a reason for hiding this comment

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

net.ipv6.conf.all.accept_ra = 2

@moadqassem @WeirdMachine we had a similar fix for flatcar through #198 but i'm wondering if we really need this. Maybe this should be up to the user to configure in case route advertisement fails. Since this is something that'd be governed by the upstream network so eventually the cloud provider.

Copy link
Member

Choose a reason for hiding this comment

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

I agree, the user should decide how the traffic is forward across different cloud provider. I mean in general we can include this in an if statement

Copy link

Choose a reason for hiding this comment

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

In my opinion it makes not really sense for Kubernetes workers to not accept RA.

Copy link
Member

@moadqassem moadqassem left a comment

Choose a reason for hiding this comment

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

/lgtm

@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Jul 12, 2023
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: f8d5b5e4818dd8fc4f30ddcbbc438e8b45a2a7a9

@ahmedwaleedmalik
Copy link
Member Author

/hold

@kubermatic-bot kubermatic-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 12, 2023
@kubermatic-bot kubermatic-bot merged commit 91b8c5b into kubermatic:main Jul 12, 2023
@ahmedwaleedmalik ahmedwaleedmalik deleted the ipv6-forward branch July 12, 2023 12:29
@ahmedwaleedmalik
Copy link
Member Author

/cherrypick release/v1.3

@kubermatic-bot
Copy link
Contributor

@ahmedwaleedmalik: new pull request created: #299

In response to this:

/cherrypick release/v1.3

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.

@mate4st
Copy link

mate4st commented Jul 12, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. docs/none Denotes a PR that doesn't need documentation (changes). lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/osm Denotes a PR or issue as being assigned to SIG OSM. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants