Deploying to Kubernetes
We will now deploy the ElixirDrip application to the Google Kubernetes Engine (GKE), a hosted Kubernetes (K8s) solution provided by Google. Kubernetes is an open source tool that lets us configure, orchestrate, and scale a great number of containers by relying on configuration files and providing a unified way of automating every operation.
Note
Google provides a free trial period of 12 months with a $300 credit to try the services that compose Google Cloud Platform, including the Google Kubernetes Engine (check out https://cloud.google.com/free/). This allows our readers to try a hosted K8s solution without any cost. As an alternative, all the examples in this and the following sections also work with minikube
, a tool that lets you run a K8s cluster on your local machine (check out https://kubernetes.io/docs/getting-started-guides/minikube/).
Before diving into the deployment tasks, we need to clarify some of the concepts and nomenclature that Kubernetes uses. A cluster...