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

⚠️ in-place propagation from MS to Machines #8111

Conversation

ykakarap
Copy link
Contributor

What this PR does / why we need it:

This PR implements the in-place propagation behavior for MachineSets. Changes to in-place propagation fields in MachineSet are synced to the target Machines.

Follow-up work:

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 #

Part of #7731

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Feb 14, 2023
Copy link
Contributor

@CecileRobertMichon CecileRobertMichon left a comment

Choose a reason for hiding this comment

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

Look good overall, thanks for splitting the PR and writing lots of code comments

internal/util/ssa/managedfields.go Outdated Show resolved Hide resolved
internal/controllers/machineset/machineset_controller.go Outdated Show resolved Hide resolved
internal/util/ssa/managedfields.go Outdated Show resolved Hide resolved
internal/util/ssa/managedfields.go Outdated Show resolved Hide resolved
internal/util/ssa/managedfields.go Show resolved Hide resolved
internal/util/ssa/managedfields.go Show resolved Hide resolved
internal/util/ssa/managedfields_test.go Outdated Show resolved Hide resolved
internal/util/ssa/managedfields_test.go Outdated Show resolved Hide resolved
internal/util/ssa/matchers.go Outdated Show resolved Hide resolved
@sbueringer
Copy link
Member

sbueringer commented Feb 21, 2023

@ykakarap I think the findings are mostly nits, let's fix them up and get ready for merge :)

(please also note/fix the golangci-lint findings)

@sbueringer
Copy link
Member

/test pull-cluster-api-e2e-full-main

@sbueringer
Copy link
Member

sbueringer commented Feb 21, 2023

Independent flake

/test pull-cluster-api-e2e-full-main

@ykakarap ykakarap force-pushed the node-label-in-place-propagation_ms-machines branch from 87293fe to e81b680 Compare February 21, 2023 22:14
@ykakarap
Copy link
Contributor Author

/test pull-cluster-api-e2e-full-main
/test pull-cluster-api-e2e-workload-upgrade-1-26-latest-main

@sbueringer
Copy link
Member

Great work!!

/lgtm

/assign @fabriziopandini

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

LGTM label has been added.

Git tree hash: 82621a8d619bca2c19adeeba66ed4c7a64efa67e

Copy link
Member

@fabriziopandini fabriziopandini left a comment

Choose a reason for hiding this comment

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

great to see progress on this effort!
/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fabriziopandini

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 Feb 22, 2023
@k8s-ci-robot k8s-ci-robot merged commit 9c5671a into kubernetes-sigs:main Feb 22, 2023
@k8s-ci-robot k8s-ci-robot added this to the v1.4 milestone Feb 22, 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. 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/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants