Skip to content

Add MachineNodeHealthyCondition to Machine’s Ready condition #3974

@fabriziopandini

Description

@fabriziopandini

User Story

As a user, I would like to get a summary of machine status by looking at the machine's ready condition

Detailed Description

#3670 & #3890 introduced the NodeHealthy conditions on machines, however
as per discussion #3670 (comment) we decided to not include this condition in the machine's ready condition and to open an issue outlining the contract changes for v1alpha4.

The impact of this change, if implemented, is that a machine will not get ready until a CNI is installed in the cluster.

Is there any objection to implementing this in v1alpha4? Should we consider backporting?

Anything else you would like to add:

From the conditions proposal:

  • A Ready condition SHOULD be provided at object level to represent the overall operational state of the component (and IMO for a machine, this includes having the node with a CNI)
  • The Ready condition MUST be based on the summary of more detailed conditions existing on the same object
  • An object SHOULD NEVER be in status Ready=True if one of the object's conditions are false or if one of the object dependents is in status Ready=False.

/kind feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/machineIssues or PRs related to machine lifecycle managementhelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions