Install Prometheus stack

This commit is contained in:
Khue Doan 2020-11-15 23:47:40 +07:00
parent 71431620cb
commit 3df5d4cc5b
2 changed files with 15 additions and 0 deletions

View File

@ -67,3 +67,13 @@ resource "helm_release" "metallb" {
EOT
}
}
resource "helm_release" "prometheus" {
name = "kube-prometheus-stack"
repository = "https://prometheus-community.github.io/helm-charts"
chart = "kube-prometheus-stack"
version = "11.1.2"
namespace = "monitoring-system"
create_namespace = true
}

View File

@ -16,6 +16,11 @@ terraform {
version = "1.1.3"
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "1.13.3"
}
helm = {
source = "hashicorp/helm"
version = "1.3.2"