From 1c44daa269ca157ec48523f0d9602180ac1d8053 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Sat, 10 Feb 2024 04:53:40 +0100 Subject: [PATCH] add metrics-server --- core-deployments.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/core-deployments.yaml b/core-deployments.yaml index b5991b4..6608cf5 100644 --- a/core-deployments.yaml +++ b/core-deployments.yaml @@ -252,6 +252,29 @@ spec: destination: server: https://kubernetes.default.svc namespace: logs + syncPolicy: + syncOptions: + - CreateNamespace=true + automated: + selfHeal: false + prune: true +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: metrics-server + namespace: argocd +spec: + project: default + sources: + - chart: metrics-server + repoURL: https://kubernetes-sigs.github.io/metrics-server/ + targetRevision: 3.12.0 + helm: + releaseName: metrics-server + destination: + server: https://kubernetes.default.svc + namespace: kube-system syncPolicy: syncOptions: - CreateNamespace=true