diff --git a/README.rst b/README.rst index 2c2a29c..30a4ba0 100644 --- a/README.rst +++ b/README.rst @@ -30,6 +30,8 @@ Applications & Projects +------------------------------+----------------------------------------------------------------+-------------------------+ | Ingress-Nginx_ | `Ingress Controller`_ | |ingress-nginx_status| | +------------------------------+----------------------------------------------------------------+-------------------------+ +| Kube-State-Metrics_ | `Kubernetes Metrics`_ | |ksm_status| | ++------------------------------+----------------------------------------------------------------+-------------------------+ | Local-Path-Provisioner_ | `Rancher Local-Path`_ | |local-path_status| | +------------------------------+----------------------------------------------------------------+-------------------------+ | Victoria-Metrics-Operator_ | `Victoria Metrics Operator`_ | |vm-op_status| | @@ -72,6 +74,10 @@ Applications & Projects .. _Ingress Controller: https://github.com/kubernetes/ingress-nginx .. |ingress-nginx_status| image:: https://argocd.ioot.xyz/api/badge?name=ingress-nginx&revision=true +.. _Kube-State-Metrics: https://argocd.ioot.xyz/applications/argocd/kube-state-metrics +.. _Kubernetes Metrics: https://github.com/kubernetes/kube-state-metrics +.. |ksm_status| image:: https://argocd.ioot.xyz/api/badge?name=kube-state-metrics&revision=true + .. _Grafana-Operator: https://argocd.ioot.xyz/applications/argocd/grafana-operator .. _Grafana Operator: https://github.com/grafana-operator/grafana-operator .. |grafana-op_status| image:: https://argocd.ioot.xyz/api/badge?name=grafana-operator&revision=true diff --git a/state/gullfaxi/system/observability/kube-state-metrics/application.yaml b/state/gullfaxi/system/observability/kube-state-metrics/application.yaml new file mode 100644 index 0000000..8be1b12 --- /dev/null +++ b/state/gullfaxi/system/observability/kube-state-metrics/application.yaml @@ -0,0 +1,28 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kube-state-metrics + labels: + stack: observability +spec: + destination: + server: https://kubernetes.default.svc + namespace: kube-state-metrics + project: system + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true + sources: + - repoURL: https://prometheus-community.github.io/helm-charts + chart: kube-state-metrics + targetRevision: 5.13.0 + helm: + values: | + # https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-state-metrics + prometheus: + monitor: + enabled: true + honorLabels: true