From the course: Kubernetes: Monitoring with Prometheus
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Enabling Prometheus monitoring, part 2 - Kubernetes Tutorial
From the course: Kubernetes: Monitoring with Prometheus
Enabling Prometheus monitoring, part 2
- [Instructor] The next thing we can look at real quick is the actual Prometheus manifest, so that's 03. So we're gonna do more 03 tab and we get prometheusalerts. And here we actually see a couple things. The reason it's called prometheusalerts is because we're configuring the Prometheus application, not the operator, the base application. Here again you can see a service account name. So we're tying it to the service account, and the policy that is associated with that. You can see that there are some resources that we're defining, and so that includes a memory request above and beyond anything else that might happen. But you notice in this that we're not actually defining the container and all the other information about that, and that's because the Prometheus operator's actually doing this. We are defining some additional parameters that the operator might otherwise default to that might not be appropriate, specifically the memory request here, because we're running on fairly…
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.