Kubernetes 101 : A simple way of scaling a deployment to fit applications load.



We start by checking our pods:




The above pods are deployed using a deployment object.

We could look for their 
deployment object
 using the below command:


Now that we have the name of the deployment for the dbase pods, we could scale it down using the below command if we feel that our application is not heavily used:


We check the number of the running dbase pods:




We use the record parameter "--record" to create an annotation in the deployment as we can see below when we "describe" it:

Comments

Leave as a comment:

Archive