Skip to content

felipeagger/k8s-all-in-one

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5092ebf · Oct 29, 2021

History

16 Commits
Oct 29, 2021
Mar 21, 2020
Mar 21, 2020
Dec 11, 2020
Mar 23, 2020
Mar 21, 2020
Mar 21, 2020

Repository files navigation

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 monitoring

kubectl 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=monitoring

kubectl 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

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/

About

Create a All-in-one Kubernetes Cluster.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published