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

✨ Add CAPI patch to support in-place upgrade in KCP #2822

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

abhinavmpandey08
Copy link
Member

@abhinavmpandey08 abhinavmpandey08 commented Jan 17, 2024

Description of changes:
This PR adds support for InPlace upgrade strategy in KCP. When the deployment strategy is set to InPlace, the kubeadm-control-plane-controller adds a controlplane.clusters.x-k8s.io/in-place-upgrade-needed annotation to the KCP object when an upgrade is needed. The external upgrader should watch for this annotation and trigger an in-place upgrade when it's added.
After the upgrade is done, the external upgrader is expected to update the statuses and remove this annotation.

Corresponding PR on our CAPI fork abhay-krishna/cluster-api#27

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@eks-distro-bot eks-distro-bot added do-not-merge/hold size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 17, 2024
@abhinavmpandey08 abhinavmpandey08 changed the title Add CAPI patch to support in-place upgrade in KCP ✨Add CAPI patch to support in-place upgrade in KCP Jan 17, 2024
@abhinavmpandey08 abhinavmpandey08 changed the title ✨Add CAPI patch to support in-place upgrade in KCP ✨ Add CAPI patch to support in-place upgrade in KCP Jan 17, 2024
@abhinavmpandey08 abhinavmpandey08 force-pushed the capi-in-place branch 3 times, most recently from 0ebce31 to 3c7c721 Compare January 23, 2024 00:46
@abhinavmpandey08
Copy link
Member Author

/unhold

@abhinavmpandey08
Copy link
Member Author

/approve

@eks-distro-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavmpandey08

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

@rahulbabu95
Copy link
Member

/lgtm

@eks-distro-bot eks-distro-bot merged commit 7e2b9de into aws:main Jan 23, 2024
2 checks passed
@abhinavmpandey08 abhinavmpandey08 deleted the capi-in-place branch January 23, 2024 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm 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.

3 participants