10 Advanced deployment

 

This chapter covers

  • Creating a Kubernetes cluster
  • Deploying an API in Kubernetes
  • Deploying a database using Helm
  • Configuring your API to use the database

“If you look at these charts, you can see that our new service has actually helped drive more traffic to our services. Our mobile application team was able to whip together a quick application using some of the same techniques adopted for the translation service. This application has had wide adoption and is trending in all app stores. However, since the translation service is still running as an on-demand service, we find that it is more expensive than running dedicated servers, so we are left with two options: use a dedicated container orchestrator like Kubernetes or build dedicated virtual machines to run the service.”

Everyone looks at the graphs the DevOps lead is showing. There are some nods of an agreement, but the CTO finally speaks up.

“I thought the whole point was to move away from dedicated services and toward a ‘serverless’ approach. Won’t this reduce our delivery to market? Are there alternatives?”

10.1 Not quite IaaS

10.2 Your first cluster

10.3 Building blocks

10.4 Scaling and health status

10.5 Automatically deploying

10.6 Deploying Redis using Helm

10.7 Updating deployment configuration

Summary