Scaling your microservice in Kubernetes

If you read the previous chapter, you will know how important being able to scale microservices is. Scaling is a significant feature for any clustering framework because with the increasing usage of containers, users prefer simpler methods to scale their containers. Like Marathon, Kubernetes' dashboard can be used to easily scale containers up and down. In this recipe, we will be using the Kubernetes dashboard to scale up and scale down the geolocation microservice.

Getting ready

Open up the Kubernetes dashboard if you already have your cluster running. If not, use Minikube to start the cluster and open the dashboard. Make sure there are no instances of the geolocation container running on your Kubernetes ...

Get Microservices Deployment Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.