Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nithyanatarajan/k8s-monitoring-examples
https://github.com/nithyanatarajan/k8s-monitoring-examples
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nithyanatarajan/k8s-monitoring-examples
- Owner: nithyanatarajan
- Created: 2020-06-20T12:54:36.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-20T12:54:52.000Z (over 4 years ago)
- Last Synced: 2024-11-08T12:51:10.400Z (2 months ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# K8s Monitoring Examples
This repository contains examples to understand monitoring setup in kubernetes. We are using [Prometheus](https://prometheus.io/) for monitoring## Setup:
We use [prometheus operator](https://github.com/coreos/prometheus-operator) for installing prometheus in kubernetes. Manifests for the setup is found in [kube-prometheus](https://github.com/coreos/kube-prometheus) project
```bash
git clone [email protected]:coreos/kube-prometheus.gitcd kube-prometheus
kubectl apply -f manifests/setup
kubectl apply -f manifests
```## postgresql with exporter
```bash
kubectl apply -f postgres/dbkubectl apply -f postgres/exporter
kubectl apply -f postgres/servicemonitor
```