How to do it...

Assume our services are expected to have a traffic spike at a certain of time. As a DevOps, you might want to scale it up manually, and scale it down after the peak time. In Kubernetes, we can use the kubectl scale command to do so. Alternatively, we could leverage a HPA to scale up and down automatically based on compute resource conditions or custom metrics.

Let's see how to do it manually and automatically in Kubernetes.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.227.10.162