-
Notifications
You must be signed in to change notification settings - Fork 527
[GEP 31] Adapt API changes for machine-controller-manager
#11631
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
Conversation
c7eb68b
to
c2559f7
Compare
/retest |
…althTimeout` supported by MCM Co-authored-by: Shafeeque E S <shafeeque.e.s@sap.com> Co-Authored-By: Sonu Kumar Singh <sonu.kumar.singh02@sap.com>
Co-authored-by: Shafeeque E S <shafeeque.e.s@sap.com> Co-Authored-By: Sonu Kumar Singh <sonu.kumar.singh02@sap.com>
Co-authored-by: Shafeeque E S <shafeeque.e.s@sap.com> Co-Authored-By: Sonu Kumar Singh <sonu.kumar.singh02@sap.com>
Co-authored-by: Shafeeque E S <shafeeque.e.s@sap.com> Co-Authored-By: Sonu Kumar Singh <sonu.kumar.singh02@sap.com>
Co-authored-by: Shafeeque E S <shafeeque.e.s@sap.com> Co-Authored-By: Sonu Kumar Singh <sonu.kumar.singh02@sap.com>
…f the worker pool Co-authored-by: Shafeeque E S <shafeeque.e.s@sap.com> Co-Authored-By: Sonu Kumar Singh <sonu.kumar.singh02@sap.com>
Co-authored-by: Shafeeque E S <shafeeque.e.s@sap.com> Co-Authored-By: Sonu Kumar Singh <sonu.kumar.singh02@sap.com>
088d3f2
to
7d9b29c
Compare
07b348f
to
6a82954
Compare
machine-controller-manager
/lgtm |
LGTM label has been added. Git tree hash: 1ba1ee538cc05080a5ea482a59b56d950e95e473
|
fb2f8bf
to
9ec2f05
Compare
/lgtm |
LGTM label has been added. Git tree hash: b782cdb4fd8ded9edb5d81bcee0b1948cd4927b4
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: acumino 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 |
@@ -1715,6 +1719,13 @@ type MachineControllerManagerSettings struct { | |||
// NodeConditions are the set of conditions if set to true for the period of MachineHealthTimeout, machine will be declared failed. | |||
// +optional | |||
NodeConditions []string `json:"nodeConditions,omitempty" protobuf:"bytes,5,name=nodeConditions"` | |||
// MachineInPlaceUpdateTimeout is the timeout after which in-place update is declared failed. | |||
// +optional | |||
MachineInPlaceUpdateTimeout *metav1.Duration `json:"inPlaceUpdateTimeout,omitempty" protobuf:"bytes,6,opt,name=inPlaceUpdateTimeout"` |
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.
Why the field is not called InPlaceUpdateTimeout
? Due to it, right now it generates the following api violation:
API rule violation: names_match,github.com/gardener/gardener/pkg/apis/core/v1beta1,MachineControllerManagerSettings,MachineInPlaceUpdateTimeout
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.
Fields here are more or less direct copies of fields defined in MCM here. To follow the same convention like other fields MachineInPlaceUpdateTimeout
was named based on the new field in MCM MachineInPlaceUpdateTimeout
.
Co-authored-by: Shafeeque E S shafeeque.e.s@sap.com
Co-Authored-By: Sonu Kumar Singh sonu.kumar.singh02@sap.com
How to categorize this PR?
/area control-plane delivery open-source scalability
/kind enhancement
What this PR does / why we need it:
This PR adapts the MCM API changes. Defaulting and validations are also added to the introduced field.
Which issue(s) this PR fixes:
Part of #10219
Special notes for your reviewer:
Release note: