- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.4k
 
Closed
Labels
area/apiIssues or PRs related to the APIsIssues or PRs related to the APIshelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes 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 APICategorizes 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.Important 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.Indicates an issue or PR is ready to be actively worked on.
Description
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:
- KubeadmControlPlane
- Replicas => .status.replicas- Ready => .status.readyReplicas
 - Updated => .status.updatedReplicas
 - Unavailable => .status.unavailableReplicas
 
 - MachineDeployments
- Replicas => .status.replicas
 - Ready => .status.readyReplicas
 - Updated => .status.updatedReplicas
 - Unavailable => .status.unavailableReplicas
 
 - MachineSets
- Replicas => .status.replicas
 - Ready => .status.readyReplicas
 - Available => .status.availableReplicas
 
 - MachinePools
- Replicas => .status.replicas
 
 
The following are needed to bring each of these types in line
- 🌱 Add desired number column to KCP, MD, MS, MachinePool #6164
 - Rename 'replicas' to 'current' in KubeadmControlPlane, MachineDeployments and MachineSet kubectl output #6227
 - Add "Available" and "Ready" to MachinePools
 - Change "Unavailable" to "Available" in MachineDeployments and KubeadmControlPlane
 - Change "Updated" to "Up-to-date" in MachineDeployments and KubeadmControlPlane
 - Consider adding "Up-to_date" in MachineSets and MachinePools (This requires a more substantial change to the API)
 - Reorder columns in all types so we have (DESIRED CURRENT READY UP-TO-DATE AVAILABLE)
 
/area api
Metadata
Metadata
Assignees
Labels
area/apiIssues or PRs related to the APIsIssues or PRs related to the APIshelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes 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 APICategorizes 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.Important 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.Indicates an issue or PR is ready to be actively worked on.