Skip to content

Terraform Module: prometheus-operator, helm release resource deployment.

Notifications You must be signed in to change notification settings

OpenQAI/terraform-helm-release-prometheus-operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lint

terraform-helm-release-prometheus-operator

Installs prometheus-operator to create/configure/manage Prometheus clusters atop Kubernetes. This chart includes multiple components and is suitable for a variety of use-cases.

The default installation is intended to suit monitoring a kubernetes cluster the chart is deployed onto. It closely matches the kube-prometheus project.

  • prometheus-operator
  • prometheus
  • alertmanager
  • node_exporter
  • kube-state-metrics
  • grafana
  • service-monitors
    • kube-apiserver
    • kube-scheduler
    • kube-controller-manager
    • etcd
    • kube-dns/coredns
    • kube-proxy

Description:

Deploys prometheus-operator helm chart.

Usage:

  • Deploy prometheus-operator without the default rules
module "release-prometheus-operator" {
  source  = "OpenQAI/release-prometheus-operator/helm"
  version = "0.0.X"

  defaultRules_create    = false
  helm_chart_version     = "8.15.11"
  helm_chart_namespace   = "monitoring"
  skip_crds              =  false
  grafana_adminPassword  = "pa$$w0rd"
  
}
  • Deploy prometheus-operator with Grafana 7.0.3 and specified password in the namespace monitoring
module "release-prometheus-operator" {
  source  = "OpenQAI/release-prometheus-operator/helm"
  version = "0.0.X"

  helm_chart_version     = "8.15.11"
  helm_chart_namespace   = "monitoring"
  skip_crds              =  false
  grafana_image_tag      = "7.0.3"
  grafana_adminPassword  = "pa$$w0rd"
  
}

Inputs

Name Description Default Required
helm_chart_version Specify the helm chart version 8.15.11 no
helm_chart_name The helm chart name prometheus-operator no
helm_chart_namespace The namespace where the operator will be deployed monitoring no
create_namespace Create the namespace if doesn't exist true no
defaultRules_create Create default rules for monitoring the cluster true no
defaultRules_general Create General default rules true no
defaultRules_PrometheusOperator Create Prometheus Operator default rules true no
defaultRules_alertmanager Create default rules for Alert Manager true no
defaultRules_etcd Create default rules for ETCD false no
defaultRules_k8s Create K8S default rules true no
defaultRules_kubeApiserver Create Api Server default rules true no
skip_crds Skip kubernetes CRS creation false no