• kubectl scale: Scaling deployments

    1 min read

    scale deployment kubectl replicas

    To be able to scale kubernetes deployments we can edit the yaml file to increase the number of replicas we want but we can also use kubectl scale. Let's try to scale out the following deployment:

    $ kubectl get deploy demo
    NAME   READY   UP-TO-DATE   AVAILABLE   AGE
    demo   2/2     2            2           11d
    

    09/02/2021

    Read more...

From pet to cattle
Treat your kubernetes clusters like cattle, not pets