Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nithyanatarajan/k8s-monitoring-examples


https://github.com/nithyanatarajan/k8s-monitoring-examples

Last synced: 7 days ago
JSON representation

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.git

cd kube-prometheus

kubectl apply -f manifests/setup
kubectl apply -f manifests
```

## postgresql with exporter

```bash
kubectl apply -f postgres/db

kubectl apply -f postgres/exporter

kubectl apply -f postgres/servicemonitor
```