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

✨ MHC: implement annotation to manually mark machines for remediation #10202

Conversation

chrischdi
Copy link
Member

What this PR does / why we need it:

Implements annotation cluster.x-k8s.io/remediate-machine which could get manually set on machines to mark machines for remediation via a MHC.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #10197

/area machinehealthcheck

@k8s-ci-robot k8s-ci-robot added area/machinehealthcheck Issues or PRs related to machinehealthchecks cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 27, 2024
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Feb 27, 2024
api/v1beta1/common_types.go Show resolved Hide resolved
api/v1beta1/condition_consts.go Outdated Show resolved Hide resolved
@sbueringer sbueringer changed the title ✨ api: implement annotation to manually mark machines for remediation via MHC ✨ MHC: implement annotation to manually mark machines for remediation Mar 12, 2024
api/v1beta1/condition_consts.go Outdated Show resolved Hide resolved
api/v1beta1/condition_consts.go Outdated Show resolved Hide resolved
util/annotations/helpers.go Outdated Show resolved Hide resolved
Copy link
Member

@sbueringer sbueringer left a comment

Choose a reason for hiding this comment

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

Thx, last nit

api/v1beta1/condition_consts.go Outdated Show resolved Hide resolved
@sbueringer
Copy link
Member

/lgtm

Feel free to squash

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 13, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 45fe19e4ddcfecf357390b8cfaea8541d68060b5

@chrischdi chrischdi force-pushed the pr-manual-machine-remediation-annotation branch from 593f54d to 63d56b2 Compare March 13, 2024 15:10
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 13, 2024
@sbueringer
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 13, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: e538f02d914e1f70d8a921af1e951e24f4928b4f

@fabriziopandini
Copy link
Member

/lgtm

@sbueringer
Copy link
Member

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sbueringer

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 15, 2024
@k8s-ci-robot k8s-ci-robot merged commit 7f4de50 into kubernetes-sigs:main Mar 15, 2024
20 of 21 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.7 milestone Mar 15, 2024
@sbueringer sbueringer mentioned this pull request Apr 16, 2024
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. area/machinehealthcheck Issues or PRs related to machinehealthchecks cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Manual remediation of Machines
4 participants