-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 node-conditions to the MachineStatus #483
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -141,6 +141,14 @@ type MachineStatus struct { | |
// Addresses is a list of addresses assigned to the machine. Queried from cloud provider, if available. | ||
// +optional | ||
Addresses []corev1.NodeAddress `json:"addresses,omitempty"` | ||
|
||
// List of conditions synced from the node-conditions of the corresponding node-object. | ||
// Machine-controller would be responsible for keeping conditions up-to-date. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: Machine controller is responsible ... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fixed |
||
// Machine-set controller will be taking these conditions as a signal to decide if | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: MachineSet controller There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fixed |
||
// machine is healthy or needs to be replaced. | ||
// Refer: https://kubernetes.io/docs/concepts/architecture/nodes/#condition | ||
// +optional | ||
Conditions []corev1.NodeCondition `json:"conditions,omitempty"` | ||
} | ||
|
||
type MachineVersionInfo struct { | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
nit: "node conditions" (with a space)
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.
fixed