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 Prometheus to Kubernetes
From the course: Cloud Native Development with Node.js, Docker, and Kubernetes
Deploy Prometheus to Kubernetes
- In the previous video, we added a metrics endpoint to our application for use with Prometheus. We still, however, need to install Prometheus into our Kubernetes cluster. Luckily, Helm Hub already has support for Prometheus. So, we can go to Helm Hub, and search the charts for Prometheus. This provides a large number of hits because a large amount of the software available works with Prometheus. If we scroll down, we can see the Prometheus entry itself. And this tells us that it's part of the stable repository and that we can install it using helm install stable/prometheus. Let's go to our terminal, and do that. Here we go into helm install and give our install the name of Prometheus. We're going to use the stable Prometheus chart, which we just saw from Helm Hub. And we're also going to add into the namespace of Prometheus. And this just means that when we search and look at our available deployed applications, Prometheus won't show up because it's in a separate namespace. This has…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.