From the course: Cloud Native Development with Node.js, Docker, and Kubernetes

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Deploy multiple instances

Deploy multiple instances

From the course: Cloud Native Development with Node.js, Docker, and Kubernetes

Start my 1-month free trial

Deploy multiple instances

- [Instructor] In the previous video, we took our application and we deployed it to Kubernetes using a Helm chart. That deployed a single instance of our application and that's controlled by this value in the values.yaml in the Helm chart which is replicate which was set to one. Before we can change that let's go to the CLI and actually delete our existing deployment, let's first go to our project directory and then type Helm delete dash dash purge nodeserver so it removes our instance. The dash dash purge option both removes the deployment and any history of that deployment that exists and we'll see the use of that history later on in this video, now that we've done that we can return to our project, and we can change that replicaCount to two and hit save. Once we've done that, we can now reinstall our app using Helm install. We can now see that our deployment is looking to deploy two containers, so we'll have under pods, two entries each of which is now starting. If we type Helm…

Contents