Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save saiyam1814/5422353ebb1a726ebc55dafffd09eaa2 to your computer and use it in GitHub Desktop.
Save saiyam1814/5422353ebb1a726ebc55dafffd09eaa2 to your computer and use it in GitHub Desktop.
Kubernetes monitoring
helm repo add influxdata https://helm.influxdata.com/
helm upgrade --install my-release influxdata/influxdb2
helm upgrade --install telegraf-ds influxdata/telegraf-ds
create cluster role for the required access
kubectl edit cm telegraf-ds
kubectl get svc
Admin password for Influx dashboard ->
echo $(kubectl get secret my-release-influxdb2-auth -o "jsonpath={.data['admin-password']}" --namespace default | base64 --decode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment