disable loki and alloy as it is not used [ci skip]
This commit is contained in:
parent
19b7e18530
commit
cfa32d0e31
2 changed files with 27 additions and 27 deletions
|
|
@ -527,18 +527,18 @@ resource "kubernetes_service" "snmp-exporter" {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "helm_release" "loki" {
|
# resource "helm_release" "loki" {
|
||||||
namespace = "monitoring"
|
# namespace = "monitoring"
|
||||||
create_namespace = true
|
# create_namespace = true
|
||||||
name = "loki"
|
# name = "loki"
|
||||||
|
|
||||||
repository = "https://grafana.github.io/helm-charts"
|
# repository = "https://grafana.github.io/helm-charts"
|
||||||
chart = "loki"
|
# chart = "loki"
|
||||||
|
|
||||||
values = [templatefile("${path.module}/loki.yaml", {})]
|
# values = [templatefile("${path.module}/loki.yaml", {})]
|
||||||
atomic = true
|
# atomic = true
|
||||||
timeout = 120
|
# timeout = 120
|
||||||
}
|
# }
|
||||||
|
|
||||||
resource "kubernetes_persistent_volume" "loki" {
|
resource "kubernetes_persistent_volume" "loki" {
|
||||||
metadata {
|
metadata {
|
||||||
|
|
@ -582,16 +582,16 @@ resource "kubernetes_persistent_volume" "loki-minio" {
|
||||||
|
|
||||||
|
|
||||||
# https://grafana.com/docs/alloy/latest/configure/kubernetes/
|
# https://grafana.com/docs/alloy/latest/configure/kubernetes/
|
||||||
resource "helm_release" "alloy" {
|
# resource "helm_release" "alloy" {
|
||||||
namespace = "monitoring"
|
# namespace = "monitoring"
|
||||||
create_namespace = true
|
# create_namespace = true
|
||||||
name = "alloy"
|
# name = "alloy"
|
||||||
|
|
||||||
repository = "https://grafana.github.io/helm-charts"
|
# repository = "https://grafana.github.io/helm-charts"
|
||||||
chart = "alloy"
|
# chart = "alloy"
|
||||||
|
|
||||||
atomic = true
|
# atomic = true
|
||||||
}
|
# }
|
||||||
|
|
||||||
# Increase open file limits as alloy is reading files:
|
# Increase open file limits as alloy is reading files:
|
||||||
# https://serverfault.com/questions/1137211/failed-to-create-fsnotify-watcher-too-many-open-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 :
|
# 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
|
# 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" {
|
# resource "helm_release" "k8s-monitoring" {
|
||||||
namespace = "monitoring"
|
# namespace = "monitoring"
|
||||||
create_namespace = true
|
# create_namespace = true
|
||||||
name = "k8s-monitoring"
|
# name = "k8s-monitoring"
|
||||||
|
|
||||||
repository = "https://grafana.github.io/helm-charts"
|
# repository = "https://grafana.github.io/helm-charts"
|
||||||
chart = "k8s-monitoring"
|
# chart = "k8s-monitoring"
|
||||||
|
|
||||||
values = [templatefile("${path.module}/k8s-monitoring-values.yaml", {})]
|
# values = [templatefile("${path.module}/k8s-monitoring-values.yaml", {})]
|
||||||
atomic = true
|
# atomic = true
|
||||||
}
|
# }
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue