Want to know "How to run highly available sensugo cluster with external ETCD running within kubernetes cluster. Follow this tutorial.
Note - Setup has been tried and tested on AWS EKS cluster - kubernetes version 1.11+ and in minikube 1.13+
- Working kubernetes cluster with admin privilege.
- storageclass with the name
performance-retain
for volumes to be configured dynamically forETCD
andInfluxDB
. Feel free to change it in the files or create one within cluster.
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
cd etcd
kubectl apply -f .
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.
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 .
cd ../grafana
kubectl apply -f .