How do i list the kubernetes replicasets?



  • Shows the long version and the use of the alias.

    ReplicaSet ensures that a specified number of pod replicas are running at any given time.

    $ kubectl get replicasets
    NAME                   DESIRED   CURRENT   READY     AGE
    webserver-74b684cccd   3         3         3         18m
    
    $ kubectl get rs         
    NAME                   DESIRED   CURRENT   READY     AGE
    webserver-74b684cccd   3         3         3         19m
    

Log in to reply
 

© Lightnetics 2024