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

Flow-based infrastructure reconciliation without Terraformer #656

Merged
merged 34 commits into from
Nov 28, 2023

Conversation

kevin-lacoo
Copy link
Contributor

@kevin-lacoo kevin-lacoo commented Oct 25, 2023

How to categorize this PR?

/area control-plane
/kind enhancement
/platform alicloud

What this PR does / why we need it:
Reconciliation and deletion of infrastructure resources are managed directly with a graph flow and using Alicloud SDK client API instead of using Terraformer.
Migration for existing infrastructure resources is implemented, too.
Update Alicloud SDK to v1.62.561

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:
Currently, to activate the flow based infra management, the shoot or the infrastructure resource must be annotated with
alicloud.provider.extensions.gardener.cloud/use-flow=true

Release note:

Flow-based infrastructure reconciliation without Terraformer

@gardener-robot gardener-robot added the platform/alicloud Alicloud platform/infrastructure label Oct 25, 2023
@gardener-robot
Copy link

@kevin-lacoo Labels area/todo, kind/todo do not exist.

@gardener-robot gardener-robot added needs/review Needs review size/xl Size of pull request is huge (see gardener-robot robot/bots/size.py) needs/second-opinion Needs second review by someone else labels Oct 25, 2023
@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 Oct 25, 2023
@kevin-lacoo
Copy link
Contributor Author

/test

@testmachinery
Copy link

testmachinery bot commented Oct 25, 2023

Testrun: e2e-l2rfq
Workflow: e2e-l2rfq-wf
Phase: Succeeded

+---------------------+---------------------+-----------+----------+
|        NAME         |        STEP         |   PHASE   | DURATION |
+---------------------+---------------------+-----------+----------+
| infrastructure-test | infrastructure-test | Succeeded | 23m25s   |
| bastion-test        | bastion-test        | Succeeded | 9m16s    |
+---------------------+---------------------+-----------+----------+

@gardener-robot gardener-robot added area/control-plane Control plane related kind/enhancement Enhancement, improvement, extension labels Oct 25, 2023
@kevin-lacoo kevin-lacoo changed the title Remove terraformer new Flow-based infrastructure reconciliation without Terraformer Oct 25, 2023
@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 Oct 25, 2023
@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) 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 Oct 25, 2023
@kevin-lacoo kevin-lacoo marked this pull request as ready for review October 25, 2023 08:56
@kevin-lacoo kevin-lacoo requested review from a team as code owners October 25, 2023 08:56
@kevin-lacoo
Copy link
Contributor Author

/test

@testmachinery
Copy link

testmachinery bot commented Oct 25, 2023

Testrun: e2e-xwlkv
Workflow: e2e-xwlkv-wf
Phase: Succeeded

+---------------------+---------------------+-----------+----------+
|        NAME         |        STEP         |   PHASE   | DURATION |
+---------------------+---------------------+-----------+----------+
| infrastructure-test | infrastructure-test | Succeeded | 24m32s   |
| bastion-test        | bastion-test        | Succeeded | 10m34s   |
+---------------------+---------------------+-----------+----------+

@zkdev zkdev added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Oct 26, 2023
@gardener-robot-ci-2 gardener-robot-ci-2 added 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 Oct 26, 2023
@gardener-robot
Copy link

@kon-angelo You have pull request review open invite, please check

@kevin-lacoo kevin-lacoo 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 Oct 30, 2023
@gardener-robot-ci-3 gardener-robot-ci-3 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 Oct 30, 2023
@gardener-robot-ci-1 gardener-robot-ci-1 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 Nov 21, 2023
@gardener-robot-ci-3 gardener-robot-ci-3 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 Nov 22, 2023
@kevin-lacoo
Copy link
Contributor Author

/test

@testmachinery
Copy link

testmachinery bot commented Nov 22, 2023

Testrun: e2e-tc8lj
Workflow: e2e-tc8lj-wf
Phase: Succeeded

+---------------------+---------------------+-----------+----------+
|        NAME         |        STEP         |   PHASE   | DURATION |
+---------------------+---------------------+-----------+----------+
| infrastructure-test | infrastructure-test | Succeeded | 23m5s    |
| bastion-test        | bastion-test        | Succeeded | 9m23s    |
+---------------------+---------------------+-----------+----------+

@gardener-robot-ci-3 gardener-robot-ci-3 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 Nov 22, 2023
@gardener-robot-ci-1 gardener-robot-ci-1 added reviewed/ok-to-test Has 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 Nov 22, 2023
shaoyongfeng
shaoyongfeng previously approved these changes Nov 22, 2023
@kevin-lacoo
Copy link
Contributor Author

/test

@gardener-robot-ci-3 gardener-robot-ci-3 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 Nov 27, 2023
@testmachinery
Copy link

testmachinery bot commented Nov 27, 2023

Testrun: e2e-97zzg
Workflow: e2e-97zzg-wf
Phase: Succeeded

+---------------------+---------------------+-----------+----------+
|        NAME         |        STEP         |   PHASE   | DURATION |
+---------------------+---------------------+-----------+----------+
| infrastructure-test | infrastructure-test | Succeeded | 23m46s   |
| bastion-test        | bastion-test        | Succeeded | 9m23s    |
+---------------------+---------------------+-----------+----------+

@gardener-robot-ci-3 gardener-robot-ci-3 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 Nov 27, 2023
@gardener-robot-ci-1 gardener-robot-ci-1 added reviewed/ok-to-test Has 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 Nov 27, 2023
Copy link

@kon-angelo kon-angelo left a comment

Choose a reason for hiding this comment

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

/lgtm

Something that we discussed with @MartinWeindel is whether the persistentState type should reside with the other api types (pkg/apis/alicloud) and I am thinking that we should move it there for AWS too. E.g. in gardener/gardener-extension-provider-azure#739 I decided to put it there

@gardener-robot gardener-robot added reviewed/lgtm Has approval for merging and removed needs/review Needs review needs/second-opinion Needs second review by someone else labels Nov 27, 2023
@gardener-robot-ci-3 gardener-robot-ci-3 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 Nov 27, 2023
@kevin-lacoo kevin-lacoo merged commit dde5aa5 into master Nov 28, 2023
13 checks passed
@gardener-robot gardener-robot added the status/closed Issue is closed (either delivered or triaged) label Nov 28, 2023
@kevin-lacoo kevin-lacoo deleted the remove-terraformer-new branch November 28, 2023 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/control-plane Control plane 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/alicloud Alicloud platform/infrastructure reviewed/lgtm Has approval for merging reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) size/xl Size of pull request is huge (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.

9 participants