-
Notifications
You must be signed in to change notification settings - Fork 204
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
Implement the reconciliation loop for GCPManagedMachinePool (GKE Part 4) #789
Implement the reconciliation loop for GCPManagedMachinePool (GKE Part 4) #789
Conversation
Hi @richardchen331. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
ff90f23
to
2071e51
Compare
e19cdc7
to
bee121d
Compare
bee121d
to
ee03800
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @richardchen331 🎉
bccb40b
to
54bbe39
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic @richardchen331
// In regional or multi-zonal clusters, this is the number of nodes per zone. | ||
InitialNodeCount int32 `json:"initialNodeCount"` | ||
NodeCount int32 `json:"nodeCount"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to expose autoscaling initially as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my plan is to get an MVP working and adding more features after the initial set of PRs are merged. let me know if that make sense :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would agree with this approach for most features. But I wonder as this is a machinepool should we have scaling from the beginning? Feels like we should but happy to go with what you feel is best.
@richardchen331 - sorry for the late replay. I left 1 reply around auto-scaling. Apart from that, I think this looks good. Could you rebase and squash commits? |
06f1fdc
to
399fea3
Compare
Thanks for the review! I rebased and squashed the commits (only left one additional for the autoscaling change), and add auto scaling support. Please take another look when you have time. I can squash again after it's approved :) |
399fea3
to
9e9dc7f
Compare
/test pull-cluster-api-provider-gcp-e2e-test |
@richardchen331 - this looks great, and thanks for adding the autoscaling options initially. I think this will help. From my side, i have no further comments on the code. Can you squash and handle the conflicting I will then approve :) |
9e9dc7f
to
9fbafc3
Compare
Sure. I rebased and squashed the commits. Could you help approve the PR? Thanks Richard! |
9fbafc3
to
175ba26
Compare
/override pull-cluster-api-provider-gcp-apidiff |
@richardcase: Overrode contexts on behalf of richardcase: pull-cluster-api-provider-gcp-apidiff In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Thanks for this @richardchen331 , great work /lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice work
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cpanato, richardchen331 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This change adds the reconciliation logic for the GCPManagedControlPlane.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Relates #512
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
TODOs:
Release note: