diff --git a/monitor/kube-prometheus.yaml b/monitor/kube-prometheus.yaml new file mode 100644 index 0000000..92c5d85 --- /dev/null +++ b/monitor/kube-prometheus.yaml @@ -0,0 +1,12 @@ +--- + +apiVersion: helm.cattle.io/v1 +kind: HelmChart +metadata: + name: lgtm + namespace: monitor +spec: + repo: https://grafana.github.io/helm-charts + chart: lgtm-distributed + targetNamespace: monitor + # valuesContent: |- diff --git a/monitoring/monitoring.yaml b/monitor/monitor.yaml similarity index 70% rename from monitoring/monitoring.yaml rename to monitor/monitor.yaml index bb33291..572ef03 100644 --- a/monitoring/monitoring.yaml +++ b/monitor/monitor.yaml @@ -3,4 +3,4 @@ apiVersion: v1 kind: Namespace metadata: - name: monitoring + name: monitor diff --git a/monitoring/signoz.yaml b/monitoring/signoz.yaml deleted file mode 100644 index cef651d..0000000 --- a/monitoring/signoz.yaml +++ /dev/null @@ -1,39 +0,0 @@ ---- -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 diff --git a/ops/monitor.ingress.yaml b/ops/monitor.ingress.yaml index 0c9ba50..9f647e1 100644 --- a/ops/monitor.ingress.yaml +++ b/ops/monitor.ingress.yaml @@ -11,20 +11,9 @@ spec: ingressClassName: haproxy tls: - hosts: - - monitor.strix.systems - monitor.ntwl.xyz secretName: monitor-strix-systems-tls rules: - - host: monitor.strix.systems - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: kube-prometheus-stack-grafana - port: - number: 80 - host: monitor.ntwl.xyz http: paths: