Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/felipeagger/k8s-all-in-one
Create a All-in-one Kubernetes Cluster.
https://github.com/felipeagger/k8s-all-in-one
grafana k8s kubernetes prometheus vagrant
Last synced: 2 months ago
JSON representation
Create a All-in-one Kubernetes Cluster.
- Host: GitHub
- URL: https://github.com/felipeagger/k8s-all-in-one
- Owner: felipeagger
- License: mit
- Created: 2020-03-21T17:39:13.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-29T14:37:38.000Z (about 3 years ago)
- Last Synced: 2024-10-02T09:29:04.451Z (3 months ago)
- Topics: grafana, k8s, kubernetes, prometheus, vagrant
- Language: Shell
- Size: 84 KB
- Stars: 39
- Watchers: 3
- Forks: 50
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# k8s-all-in-one
Create a All-in-one Kubernetes Cluster.# Subir o kubernetes:
Acesse a raiz do repositorio e rode:
```
make up
```ou
```
vagrant up --provider virtualbox
```IP do Servidor: 192.168.1.10
# Monitoramento - Prometheus e Grafana
Para subir a stack de Monitoramento no kubernetes
Acesse a raiz do repositorio e Execute:```
kubectl create namespace monitoringkubectl create -f k8s-prometheus/clusterRole.yaml
kubectl create -f k8s-prometheus/config-map.yaml
kubectl create -f k8s-prometheus/prometheus-deployment.yaml
kubectl create -f k8s-prometheus/prometheus-service.yaml --namespace=monitoringkubectl apply -f kube-state-metrics/
kubectl create -f k8s-grafana/
```Depois acesse http://192.168.1.10:32000/ (Grafana)
Usuario: admin
Senha: admin
Importe o dashboard do GrafanaLabs (https://grafana.com/grafana/dashboards/12740)
ID: 12740
![Image of Dashboard on GrafanaLabs](/monitoring/k8s-grafana/GrafanaDashboardImg.png)
ou copie o conteudo desse arquivo "k8s-grafana/grafana-dashboard-kubernetes.json"
e importe no grafana.# Links
Para Utilizar é necessario ter instalado:
```
Vagrant: https://www.vagrantup.com/VirtualBox: https://www.virtualbox.org/
```