Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/slashpai/deploy-thanos-kubernetes
example thanos deployment on kubernetes
https://github.com/slashpai/deploy-thanos-kubernetes
Last synced: 9 days ago
JSON representation
example thanos deployment on kubernetes
- Host: GitHub
- URL: https://github.com/slashpai/deploy-thanos-kubernetes
- Owner: slashpai
- License: apache-2.0
- Created: 2022-04-19T10:50:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-31T20:59:11.000Z (over 1 year ago)
- Last Synced: 2024-04-17T18:18:42.112Z (7 months ago)
- Language: Jsonnet
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# deploy-thanos-kubernetes
Example thanos deployment on kubernetes to use along with [kube-prometheus](https://github.com/prometheus-operator/kube-prometheus#quickstart). Code for this repo is taken from [kube-thanos](https://github.com/thanos-io/kube-thanos) and slight modifcations made.
## Configure thanos on kubernetes cluster
Create namespace named 'monitoring' if doesn't exist (This example project is created to use along with [kube-prometheus](https://github.com/prometheus-operator/kube-prometheus#quickstart), so "monitoring" namespace should be already created after following instructions over there)
```bash
kubectl create ns monitoring
``````bash
kubectl apply -f manifests
```## Compile yourself
### Pre-requistes
- [jsonnet](https://github.com/google/jsonnet)
- [jsonnet-bundler](https://github.com/jsonnet-bundler/jsonnet-bundler#install)
- [gojsontoyaml](http://github.com/brancz/gojsontoyaml)### Generate manifest files
```bash
./build.sh
```