-
Couldn't load subscription status.
- Fork 1.4k
Description
Cluster API should use "current" instead of "replicas" in CLI output to express the number of instances of an object in a scalable resource.
With #6164 we're adding desired to all three of the above objects, showing the number of replicas. In order to be consistent with the Kubernetes output for Daemonsets we should rename the 'replicas' column to 'current'.
In detail:
As of release 1.1 the outputs for KubeadmControlPlane, MachineDeployments and MachineSets are :
KubeadmControlPlane
NAME CLUSTER INITIALIZED API SERVER AVAILABLE REPLICAS READY UPDATED UNAVAILABLE AGE VERSION
cloister-9l2n7 cloister true true 3 3 3 0 24h v1.21.2
MachineDeployments:
NAME CLUSTER REPLICAS READY UPDATED UNAVAILABLE PHASE AGE VERSION
cloister-linux-workers-jd4qq cloister 3 3 3 0 Running 24h v1.21.2
MachineSets:
NAME CLUSTER REPLICAS READY AVAILABLE AGE VERSION
my-cluster-default-worker-topo-bjn28-66767779f7 my-cluster 1 21h v1.22.0
In a future release the outputs for KubeadmControlPlane, MachineDeployments and MachineSets this change (combined with the change from #6164) result in:
KubeadmControlPlane
NAME CLUSTER INITIALIZED API SERVER AVAILABLE CURRENT DESIRED READY UPDATED UNAVAILABLE AGE VERSION
cloister-9l2n7 cloister true true 3 3 3 0 3 24h v1.21.2
MachineDeployments:
NAME CLUSTER CURRENT DESIRED READY UPDATED UNAVAILABLE PHASE AGE VERSION
cloister-linux-workers-jd4qq cloister 3 3 3 3 0 Running 24h v1.21.2
MachineSets:
NAME CLUSTER CURRENT DESIRED READY AVAILABLE AGE VERSION
my-cluster-default-worker-topo-bjn28-66767779f7 my-cluster 1 1 21h v1.22.0
/area api