Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Gitops momitoring

This repository contains how to setup kube prometheus monitoring with grafana install as part of prometheus deployment. Also includes how to add additional built

STEPS:

  1. Connect to the cluset using kubeconfig
export KUBECONFIG=/Users/sghosh/k8sConfig.yml

verify the connection

kubectl get nodes

Install helm if not installed

curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash

  1. Deploy prometheus with helm chart and kustomize

Promtheus can be depployed in 3 different ways but using helm kube-prometheus-stack simplifies the setup and maintainablity.

kustomize build --enable-helm . | kubectl apply -f - --server-side=true
  1. With kustomize build and apply

With helm within the Chart directory

helm install test . -f ./values.yaml --namespace test-monitoring --create-namespace

About

Simplify monitoring setup for k8s cluster

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors