Skip to content

The simple demo example of Prometheus + Grafana + Nginx demo in the Kubernetes cluster.

License

Notifications You must be signed in to change notification settings

ltblueberry/monitoring-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monitoring Demo

The simple demo example of Prometheus + Grafana + Nginx demo in the Kubernetes cluster.

This demo was used with GCP Kubernetes cluster. As a demo dashboard was used official nginx dashboard.

Dependencies

Setup cluster

To start using gcloud utility execute next command

gcloud init

Execute the next command to sign in

gcloud auth login

Select your GCP project (if you have one) or create a new one (you can do it via GCP Web Interface)

gcloud projects list
gcloud config set project <YOUR_PROJECT_ID>

Finally, we can setup demo cluster

gcloud container clusters create demo-cluster --zone europe-west4-a

kubectl will be automatically configured to your created cluster

You can check your demo-cluster status with next command

kubectl get nodes

Usage

  1. Clone this git repository
git clone https://github.com/ltblueberry/monitoring-demo
  1. Execute install.sh script
./install.sh
  1. Execute get-urls.sh script to get all services URLs.
./get-urls.sh

Now you can check it all with web-browser

Uninstall

  1. Execute uninstall.sh script
./uninstall.sh

License

MIT License

Copyright (c) 2020 ltblueberry

About

The simple demo example of Prometheus + Grafana + Nginx demo in the Kubernetes cluster.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages