From the course: Kubernetes: Your First Project (2021)

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Deploying our Helm Chart with make

Deploying our Helm Chart with make - Kubernetes Tutorial

From the course: Kubernetes: Your First Project (2021)

Deploying our Helm Chart with make

- [Instructor] Let's automate what we just did by putting all of it into our handy-dandy Makefile. So let's open Makefile. And let's go ahead and add it. So the first thing I'm going to do is create a new make rule called install_app. And we're going to make that target a phony target up here, going back to it, instead of using helm install like we've been doing, as you probably noticed, it's really inconvenient to install something and then have to uninstall it if something goes wrong. So instead of doing that, we're going to use the helm upgrade command. And what helm upgrade does, is it effectively versions all of your installs on top of each other. So it knows when stuff has changed, to install the changes. If you've modified things, to modify in place, that sort of business. Helm upgrade is a command that does that. It's much more convenient than installing and uninstalling. So the first command we're going to…

Contents