[ci skip] add caretta eBPF pod topology to monitoring module
This commit is contained in:
parent
4b6ade7b08
commit
9d52acd286
1 changed files with 32 additions and 0 deletions
32
stacks/platform/modules/monitoring/caretta.tf
Normal file
32
stacks/platform/modules/monitoring/caretta.tf
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
resource "helm_release" "caretta" {
|
||||
namespace = kubernetes_namespace.monitoring.metadata[0].name
|
||||
create_namespace = true
|
||||
name = "caretta"
|
||||
|
||||
repository = "https://helm.groundcover.com/"
|
||||
chart = "caretta"
|
||||
version = "0.0.16"
|
||||
|
||||
set {
|
||||
name = "grafana.enabled"
|
||||
value = "false"
|
||||
}
|
||||
|
||||
set {
|
||||
name = "victoria-metrics-single.enabled"
|
||||
value = "false"
|
||||
}
|
||||
}
|
||||
|
||||
resource "kubernetes_config_map" "caretta_grafana_dashboard" {
|
||||
metadata {
|
||||
name = "caretta-grafana-dashboard"
|
||||
namespace = kubernetes_namespace.monitoring.metadata[0].name
|
||||
labels = {
|
||||
grafana_dashboard = "1"
|
||||
}
|
||||
}
|
||||
data = {
|
||||
"caretta-dashboard.json" = file("${path.module}/dashboards/caretta-dashboard.json")
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue