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

Create shoot cluster per default without overlay network for kubernetes >= 1.22. #589

Merged

Conversation

ScheererJ
Copy link
Member

@ScheererJ ScheererJ commented Aug 16, 2022

How to categorize this PR?

/area networking
/kind enhancement
/platform aws

What this PR does / why we need it:
Create shoot cluster per default without overlay network for kubernetes >= 1.22.

Unless explicitly specified, the overlay network is disabled with a mutating
webhook for new clusters. This only works for clusters >= 1.22 due to the
source/destinations checks being disabled only for those clusters (see
gardener/machine-controller-manager-provider-aws#36
for details).

Prerequisite for https://github.com/gardener/backlog/issues/29.

Which issue(s) this PR fixes:
None.

Special notes for your reviewer:
This requires the routes for the per node pod cidrs to be created in the infrastructure as a prerequisite. This could be done by cloud-controller-manager. Unfortunately, aws cloud-controller-manager does not work with multiple route tables, which are used by gardener (one per availability zone + a global one).
Therefore, this pull request is a draft for now.
#591 is the prerequisite for this change.

Release note:

All new calico aws shoot clusters with kubernetes >= 1.22 will be created without an overlay if not explicitly specified in the shoot spec.

@gardener-robot gardener-robot added area/networking Networking related kind/enhancement Enhancement, improvement, extension platform/aws Amazon web services platform/infrastructure labels Aug 16, 2022
@gardener-robot
Copy link

@ScheererJ Thank you for your contribution.

@gardener-robot gardener-robot added the needs/rebase Needs git rebase label Aug 16, 2022
@gardener-robot
Copy link

@ScheererJ You need rebase this pull request with latest master branch. Please check.

@gardener-robot gardener-robot added needs/review Needs review size/m Size of pull request is medium (see gardener-robot robot/bots/size.py) labels Aug 16, 2022
@gardener-robot-ci-2 gardener-robot-ci-2 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Aug 16, 2022
…es >= 1.22.

Unless explicitly specified, the overlay network is disabled with a mutating
webhook for new clusters. This only works for clusters >= 1.22 due to the
source/destinations checks being disabled only for those clusters (see
gardener/machine-controller-manager-provider-aws#36
for details).
@ScheererJ ScheererJ force-pushed the network-webhook/disable-overlay-network branch from b028638 to 0262b79 Compare August 16, 2022 14:03
@gardener-robot-ci-1 gardener-robot-ci-1 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Aug 16, 2022
@gardener-robot-ci-2 gardener-robot-ci-2 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Aug 16, 2022
@ScheererJ ScheererJ marked this pull request as ready for review August 17, 2022 14:48
@ScheererJ ScheererJ requested review from a team as code owners August 17, 2022 14:48
Copy link
Member

@dkistner dkistner left a comment

Choose a reason for hiding this comment

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

/lgtm

@gardener-robot gardener-robot added reviewed/lgtm Has approval for merging and removed needs/rebase Needs git rebase needs/review Needs review labels Sep 1, 2022
@dkistner dkistner merged commit 826b0b0 into gardener:master Sep 1, 2022
@gardener-robot gardener-robot added the status/closed Issue is closed (either delivered or triaged) label Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/networking Networking related kind/enhancement Enhancement, improvement, extension needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) platform/aws Amazon web services platform/infrastructure reviewed/lgtm Has approval for merging size/m Size of pull request is medium (see gardener-robot robot/bots/size.py) status/closed Issue is closed (either delivered or triaged)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants