From 22730ccd1bd34843c8d31c687931c47dc9c71446 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Fri, 15 Mar 2024 12:51:03 -0400 Subject: [PATCH] feat(openebs): add monitoring --- .../core/storage/openebs/helm-release.yaml | 2 +- .../core/storage/openebs/helm-repository.yaml | 9 +++++ .../core/storage/openebs/kustomization.yaml | 3 +- .../openebs/monitoring-helm-release.yaml | 39 +++++++++++++++++++ 4 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 cluster/core/storage/openebs/monitoring-helm-release.yaml diff --git a/cluster/core/storage/openebs/helm-release.yaml b/cluster/core/storage/openebs/helm-release.yaml index 789c675..be052d5 100644 --- a/cluster/core/storage/openebs/helm-release.yaml +++ b/cluster/core/storage/openebs/helm-release.yaml @@ -2,7 +2,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2beta2 kind: HelmRelease metadata: name: openebs - namespace: openebs + namespace: openebs-system spec: interval: 5m chart: diff --git a/cluster/core/storage/openebs/helm-repository.yaml b/cluster/core/storage/openebs/helm-repository.yaml index f1d031c..3776f25 100644 --- a/cluster/core/storage/openebs/helm-repository.yaml +++ b/cluster/core/storage/openebs/helm-repository.yaml @@ -6,3 +6,12 @@ metadata: spec: interval: 1m url: https://openebs.github.io/charts +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: openebs-monitoring-charts + namespace: flux-system +spec: + interval: 1m + url: https://openebs.github.io/monitoring \ No newline at end of file diff --git a/cluster/core/storage/openebs/kustomization.yaml b/cluster/core/storage/openebs/kustomization.yaml index 9e20722..dec9b5f 100644 --- a/cluster/core/storage/openebs/kustomization.yaml +++ b/cluster/core/storage/openebs/kustomization.yaml @@ -3,4 +3,5 @@ kind: Kustomization resources: - ./namespace.yaml - ./helm-repository.yaml -- ./helm-release.yaml \ No newline at end of file +- ./helm-release.yaml +- ./monitoring-helm-release.yaml \ No newline at end of file diff --git a/cluster/core/storage/openebs/monitoring-helm-release.yaml b/cluster/core/storage/openebs/monitoring-helm-release.yaml new file mode 100644 index 0000000..95b5e76 --- /dev/null +++ b/cluster/core/storage/openebs/monitoring-helm-release.yaml @@ -0,0 +1,39 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta2 +kind: HelmRelease +metadata: + name: openebs-monitoring + namespace: openebs-system +spec: + interval: 5m + chart: + spec: + chart: openebs-monitoring + version: 0.4.13 + sourceRef: + kind: HelmRepository + name: openebs-monitoring-charts + namespace: flux-system + + values: + kube-prometheus-stack: + install: false + + openebsMonitoringAddon: + # this is the only provisioner enabled + localPV: + enabled: true + + cStore: + enabled: false + jiva: + enabled: false + ndm: + enabled: false + npd: + enabled: false + deviceLocalPV: + enabled: false + lvmLocalPV: + enabled: false + zfsLocalPV: + enabled: false \ No newline at end of file