From eb67b15716606eae9e4be1dd45e1eff8c4b964a3 Mon Sep 17 00:00:00 2001 From: Nathan Rashleigh Date: Fri, 27 Jun 2025 21:23:40 +1000 Subject: [PATCH] monitoring --- media/jellyfin.yaml | 4 ++++ monitoring/monitoring.yaml | 6 ++++++ monitoring/signoz.yaml | 39 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 monitoring/monitoring.yaml create mode 100644 monitoring/signoz.yaml diff --git a/media/jellyfin.yaml b/media/jellyfin.yaml index 18f4535..eca33c9 100644 --- a/media/jellyfin.yaml +++ b/media/jellyfin.yaml @@ -33,6 +33,10 @@ spec: value: '1000' - name: UMASK value: '002' + - name: NVIDIA_VISIBLE_DEVICES + value: all + - name: NVIDIA_DRIVER_CAPABILITIES + value: all ports: - containerPort: 8096 protocol: TCP diff --git a/monitoring/monitoring.yaml b/monitoring/monitoring.yaml new file mode 100644 index 0000000..bb33291 --- /dev/null +++ b/monitoring/monitoring.yaml @@ -0,0 +1,6 @@ +--- + +apiVersion: v1 +kind: Namespace +metadata: + name: monitoring diff --git a/monitoring/signoz.yaml b/monitoring/signoz.yaml new file mode 100644 index 0000000..cef651d --- /dev/null +++ b/monitoring/signoz.yaml @@ -0,0 +1,39 @@ +--- +apiVersion: helm.cattle.io/v1 +kind: HelmChart +metadata: + name: signoz + namespace: monitoring +spec: + repo: https://charts.signoz.io + chart: signoz + targetNamespace: monitoring + valuesContent: |- + global: + storageClass: zfs-fast + clickhouse: + installCustomStorageClass: true + +--- + +apiVersion: helm.cattle.io/v1 +kind: HelmChart +metadata: + name: k8s-infra + namespace: monitoring +spec: + repo: https://charts.signoz.io + chart: k8s-infra + targetNamespace: monitoring + valuesContent: |- + global: + cloud: others + clusterName: ntwl + deploymentEnvironment: production + otelCollectorEndpoint: signoz-otel-collector:4317 + otelInsecure: true + presets: + otlpExporter: + enabled: true + loggingExporter: + enabled: false