disable loki and alloy as it is not used [ci skip]

This commit is contained in:
Viktor Barzin 2025-08-23 20:02:37 +00:00
parent 19b7e18530
commit cfa32d0e31
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
2 changed files with 27 additions and 27 deletions

View file

@ -527,18 +527,18 @@ resource "kubernetes_service" "snmp-exporter" {
}
}
resource "helm_release" "loki" {
namespace = "monitoring"
create_namespace = true
name = "loki"
# resource "helm_release" "loki" {
# namespace = "monitoring"
# create_namespace = true
# name = "loki"
repository = "https://grafana.github.io/helm-charts"
chart = "loki"
# repository = "https://grafana.github.io/helm-charts"
# chart = "loki"
values = [templatefile("${path.module}/loki.yaml", {})]
atomic = true
timeout = 120
}
# values = [templatefile("${path.module}/loki.yaml", {})]
# atomic = true
# timeout = 120
# }
resource "kubernetes_persistent_volume" "loki" {
metadata {
@ -582,16 +582,16 @@ resource "kubernetes_persistent_volume" "loki-minio" {
# https://grafana.com/docs/alloy/latest/configure/kubernetes/
resource "helm_release" "alloy" {
namespace = "monitoring"
create_namespace = true
name = "alloy"
# resource "helm_release" "alloy" {
# namespace = "monitoring"
# create_namespace = true
# name = "alloy"
repository = "https://grafana.github.io/helm-charts"
chart = "alloy"
# repository = "https://grafana.github.io/helm-charts"
# chart = "alloy"
atomic = true
}
# atomic = true
# }
# Increase open file limits as alloy is reading files:
# https://serverfault.com/questions/1137211/failed-to-create-fsnotify-watcher-too-many-open-files
@ -599,14 +599,14 @@ resource "helm_release" "alloy" {
# run for all nodes using :
# for n in $(kbn | awk '{print $1}'); do echo $n; s wizard@$n 'sudo sysctl -w fs.inotify.max_user_watches=2099999999; sudo sysctl -w fs.inotify.max_user_instances=2099999999;sudo sysctl -w fs.inotify.max_queued_events=2099999999'; done
resource "helm_release" "k8s-monitoring" {
namespace = "monitoring"
create_namespace = true
name = "k8s-monitoring"
# resource "helm_release" "k8s-monitoring" {
# namespace = "monitoring"
# create_namespace = true
# name = "k8s-monitoring"
repository = "https://grafana.github.io/helm-charts"
chart = "k8s-monitoring"
# repository = "https://grafana.github.io/helm-charts"
# chart = "k8s-monitoring"
values = [templatefile("${path.module}/k8s-monitoring-values.yaml", {})]
atomic = true
}
# values = [templatefile("${path.module}/k8s-monitoring-values.yaml", {})]
# atomic = true
# }

Binary file not shown.