Skip to content

Ensure consistency across replica-based CLI printer columns #6238

@killianmuldoon

Description

@killianmuldoon

A couple of changes are being proposed to bring CLI printer columns related to replica columns in line with Kubernetes types.

Additional work needs to be done to bring the printer columns fully in line with Kubernetes. Note, the below changes can not be made until we are updating the Cluster API api version (currently at v1beta1).

Using the Kubernetes Daemonset as a model we have:

DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE

Replica related fields, and the source of their values, are listed below:

  1. KubeadmControlPlane
    - Replicas => .status.replicas
    • Ready => .status.readyReplicas
    • Updated => .status.updatedReplicas
    • Unavailable => .status.unavailableReplicas
  2. MachineDeployments
    • Replicas => .status.replicas
    • Ready => .status.readyReplicas
    • Updated => .status.updatedReplicas
    • Unavailable => .status.unavailableReplicas
  3. MachineSets
    • Replicas => .status.replicas
    • Ready => .status.readyReplicas
    • Available => .status.availableReplicas
  4. MachinePools
    • Replicas => .status.replicas

The following are needed to bring each of these types in line

/area api

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/apiIssues or PRs related to the APIshelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/api-changeCategorizes issue or PR as related to adding, removing, or otherwise changing an APIpriority/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