From the course: Kubernetes and Cloud Native Associate (KCNA) Cert Prep
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Monitoring Kubernetes with Prometheus - Kubernetes Tutorial
From the course: Kubernetes and Cloud Native Associate (KCNA) Cert Prep
Monitoring Kubernetes with Prometheus
- Alright, in the previous videos, you have learned how to work at Prometheus. Now Prometheus is particularly seen in combination with Kubernetes. Now how does that work? Well to scrape metrics from Kubernetes, it makes sense to learn Prometheus as an application. That is a deployment within Kubernetes. In the previous demo, we have used it externally, which is totally possible. But for best integration with Kubernetes, run it inside Kubernetes. You'll need a service to make it accessible and optionally an ingress resource as well. And you'll also need some role based access control settings. That is all about permissions, a topic that we have not really talked about, but without the role based access control, the Prometheus application is not capable to get the appropriate information out of the Kubernetes etcd. So it is essential that these role-based access control is included. And also you'll need a ConfigMap to provide your custom Prometheus.yml. Previously you have seen how to…
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Learning objectives35s
-
(Locked)
Exploring Prometheus1m 30s
-
(Locked)
Running Prometheus5m 58s
-
(Locked)
Monitoring with Prometheus7m 3s
-
(Locked)
Monitoring Kubernetes with Prometheus7m 6s
-
(Locked)
Using Grafana37s
-
(Locked)
Tracing and Jaeger47s
-
(Locked)
Optimizing costs57s
-
(Locked)
Practice questions58s
-
(Locked)
Lesson 11 lab: Running Prometheus27s
-
(Locked)
Lesson 11 lab solution: Running Prometheus1m 30s
-
(Locked)
-