Skip to content

metricfire/telegraf-daemonset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Deploy Telegraf as a daemonset into your Kubernetes cluster

  • Select the context you want to deploy the telegraf daemonset into:
    • kubectl config get-contexts
    • kubectl config use-context $context-name
  • Add your Hosted Graphite API Key to the resources/config.yaml file:
    • prefix = "$API-KEY.telegraf-k8"
  • Deploy the kustomization.yaml manifest:
    • kubectl apply -k . --dry-run=client
    • kubectl apply -k .
  • Expected output:
namespace/monitoring created
serviceaccount/telegraf-sa created
clusterrole.rbac.authorization.k8s.io/telegraf-cluster-role created
clusterrolebinding.rbac.authorization.k8s.io/telegraf-sa-binding created
configmap/telegraf-config created
daemonset.apps/telegraf created
  • Confirm the daemonset is running in your context, with the name telegraf and the namespace monitoring:
    • kubectl get daemonsets --all-namespaces
  • Instantly visualize your metrics:
    • Import the 'Kubernetes Overview' dashboard into your HG account - from the HG Dashboard Library

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published