Skip to content

heureka/terraform-kubernetes-prometheus-pushgateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-kubernetes-prometheus-pushgateway

For deploying Prometheus pushgateway in your kubernetes cluster

Assumptions

  • You are running prometheus operator (monitoring.coreos.com/v1 in your cluster)
  • Your instance of Kubernetes provider is able to apply CRDs (kubernetes_manifest resource)
    • This requires special setup of the provider, more information here

Usage

module "pushgateway" {
  source = "heureka/prometheus-pushgateway/kubernetes"
  version = "1.0.0"
  
  name                 = "my-apps-pgw"
  namespace            = "my-namespace"
  servicemonitor-label = {
    prometheus = "scrape-this"
  }
}

About

For deploying Prometheus pushgateway in your kubernetes cluster

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages