Adding kube-prom
This commit is contained in:
parent
6f9b3b6d37
commit
73d96756bf
@ -24,6 +24,16 @@ resource "helm_release" "traefik" {
|
||||
name = "traefik"
|
||||
repository = "https://helm.traefik.io/traefik"
|
||||
chart = "traefik"
|
||||
|
||||
set {
|
||||
name = "ingressClass.enabled"
|
||||
value = true
|
||||
}
|
||||
|
||||
set {
|
||||
name = "ingressClass.isDefaultClass"
|
||||
value = true
|
||||
}
|
||||
}
|
||||
|
||||
resource "kubernetes_manifest" "traefik_dashboard" {
|
||||
@ -81,3 +91,14 @@ module "whoami2-ingress" {
|
||||
app_name = "whoami2"
|
||||
match_route = "PathPrefix(`/whoami2`)"
|
||||
}
|
||||
|
||||
resource "helm_release" "prom_stack" {
|
||||
name = "kube-prom-stack"
|
||||
repository = "https://prometheus-community.github.io/helm-charts"
|
||||
chart = "kube-prometheus-stack"
|
||||
|
||||
set {
|
||||
name = "alert_manager.enabled"
|
||||
value = false
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user