Skip to content

SensuGO - Highly Available Production Grade Setup......working on it.

Notifications You must be signed in to change notification settings

tprakash17/sensugo-monitoring-setup-kubernetes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sensugo-monitoring-setup-in-kubernetes

Want to know "How to run highly available sensugo cluster with external ETCD running within kubernetes cluster. Follow this tutorial.

SensuGO Archtecture - Kubernetes

SensuGoKubeArch

Note - Setup has been tried and tested on AWS EKS cluster - kubernetes version 1.11+ and in minikube 1.13+

Prerequisites

  • Working kubernetes cluster with admin privilege.
  • storageclass with the name performance-retain for volumes to be configured dynamically for ETCD and InfluxDB. Feel free to change it in the files or create one within cluster.

Setup

Clone Repo

git clone https://github.com/tprakash17/sensugo-monitoring-setup-kubernetes.git
cd sensugo-monitoring-setup-kubernetes

Create Namespaces sensugo (we will run sensugo and etcd-cluster into this) and influxdb namespace is for deploying influxdb.

kubectl create ns sensugo
kubectl create ns influxdb

Deploy ETCD cluster

cd etcd
kubectl apply -f .

Deploy sensu-backend and as well as agent into sensugo namespace.

cd ../sensugo
kubectl apply -f .

Access sensu-dashboard at URL configured in ingress with the hostname sensu-dashboard.example.com. There should be a dashbboad up and running.

Extract metrics and visualisation using Grafana (Optional)

Deploy InfluxDB

cd ../influxdb-statefulset

Note - Before we deploy infgluxdb, we need to create dependent configMap and secrets. Please open the file influxdb-statefulset.yaml and read the header.

kubectl apply -f .

Deploy Grafana

cd ../grafana
kubectl apply -f .

About

SensuGO - Highly Available Production Grade Setup......working on it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published