From 38730de0a7816e48a88f91179e914b69a01864e9 Mon Sep 17 00:00:00 2001 From: Jon Date: Tue, 19 Sep 2023 15:25:36 +0930 Subject: [PATCH] chore: initial chart and values yaml !1 --- Chart.yaml | 26 +++++++++++ values.yaml | 126 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 152 insertions(+) create mode 100644 Chart.yaml create mode 100644 values.yaml diff --git a/Chart.yaml b/Chart.yaml new file mode 100644 index 0000000..8948a1e --- /dev/null +++ b/Chart.yaml @@ -0,0 +1,26 @@ +apiVersion: v2 +name: nfc-monitoring +description: | + This helm chart installs the required components for full stack monitoring. + + The purpose of this chart is to provide all components required to monitor kubernetes within its entirety. + Storage of the monitoring data is not part of this chart nor will it be included. For this reason this chart can be added and removed without loosing your monitoring data. + + For this chart to function correctly the following operators are required: + + - [grafana](https://grafana-operator.github.io/grafana-operator/docs/installation/helm/) + + - [prometheus](https://prometheus-operator.dev/docs/user-guides/getting-started/) + + Full Docs available at http://nofusscomputing.com/projects/kubernetes_monitoring. + +type: application + + +version: 0.1.0 + + +appVersion: "0.1.0" + + +dependencies: [] diff --git a/values.yaml b/values.yaml new file mode 100644 index 0000000..e52eea1 --- /dev/null +++ b/values.yaml @@ -0,0 +1,126 @@ +--- + +# All values within this helm chart values.yaml file are under namespace `nfc_monitoring`. +# this provides the opportunity to include this helm chart as a dependency without +# variable collision + +nfc_monitoring: + + kubernetes: + cluster_dns_name: cluster.local + + + alert_manager: + image: + name: quay.io/prometheus/alertmanager + tag: 'v0.25.0' + namespace: alerting + + + grafana: + image: + name: grafana/grafana + tag: '10.0.5' + namespace: grafana + replicas: 1 + + admin_user: admin + admin_password: admin + + + grafana_agent: + image: + name: grafana/agent + tag: 'v0.36.1' + namespace: monitoring + + + loki: + image: + name: grafana/loki + tag: 2.7.4 + namespace: loki + service_name: loki + + + kube_monitor_proxy: + namespace: monitoring + + + kube_rbac_proxy: + # This image is used as part of kube-monitor-proxy. + image: + name: quay.io/brancz/kube-rbac-proxy + tag: 'v0.14.2' + + + kube_state_metrics: + image: + name: registry.k8s.io/kube-state-metrics/kube-state-metrics + tag: 'v2.8.1' + namespace: monitoring + + + prometheus: + image: + name: prom/prometheus + tag: 'v2.42.0' + namespace: monitoring + + + prometheus_adaptor: + image: + name: registry.k8s.io/prometheus-adapter/prometheus-adapter + tag: 'v0.11.1' + namespace: monitoring + + +loki_instance: + image: + name: grafana/loki + tag: 2.7.4 + # tag: 2.9.0 + namespace: loki + + +oncall_instance: + image: + name: grafana/oncall + tag: v1.1.40 + + +# oncall: + +# # image: +# # # Grafana OnCall docker image repository +# # repository: grafana/oncall +# # tag: v1.1.38 +# # pullPolicy: Always + +# service: +# enabled: false +# type: LoadBalancer +# port: 8080 +# annotations: {} + +# engine: +# replicaCount: 1 +# resources: +# limits: +# cpu: 100m +# memory: 128Mi +# requests: +# cpu: 100m +# memory: 128Mi + +# celery: +# replicaCount: 1 +# resources: +# limits: +# cpu: 100m +# memory: 128Mi +# requests: +# cpu: 100m +# memory: 128Mi +# database: +# type: none