From 350bb5301d6a51926d9816b29058feb1423e6628 Mon Sep 17 00:00:00 2001 From: Matthias Hinrichs Date: Tue, 13 Jan 2026 15:52:55 +0100 Subject: [PATCH] =?UTF-8?q?F=C3=BCge=20argocd-project-homelab.yaml=20und?= =?UTF-8?q?=20application.yaml=20f=C3=BCr=20vertikale=20Pod-Autoskalierung?= =?UTF-8?q?=20hinzu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../argocd-project-homelab.yaml | 16 +++++++++ .../vpa/application.yaml | 33 +++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 07_bootstrap_argocd/argocd-project-homelab.yaml create mode 100644 08_cluster_infrastructure/vpa/application.yaml diff --git a/07_bootstrap_argocd/argocd-project-homelab.yaml b/07_bootstrap_argocd/argocd-project-homelab.yaml new file mode 100644 index 0000000..00bb1e1 --- /dev/null +++ b/07_bootstrap_argocd/argocd-project-homelab.yaml @@ -0,0 +1,16 @@ +apiVersion: argoproj.io/v1alpha1 +kind: AppProject +metadata: + name: homelab + namespace: argocd +spec: + description: Cluster-weite Infrastructure + destinations: + - namespace: '*' + server: https://kubernetes.default.svc + sourceRepos: + - https://git.hnrx.net/** + - '*' + clusterResourceWhitelist: + - group: '*' + kind: '*' diff --git a/08_cluster_infrastructure/vpa/application.yaml b/08_cluster_infrastructure/vpa/application.yaml new file mode 100644 index 0000000..4a12e47 --- /dev/null +++ b/08_cluster_infrastructure/vpa/application.yaml @@ -0,0 +1,33 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: vertical-pod-autoscaler + namespace: argocd +spec: + project: cluster-infra + source: + path: vertical-pod-autoscaler/charts/vertical-pod-autoscaler + repoURL: https://github.com/kubernetes/autoscaler.git + targetRevision: vertical-pod-autoscaler-chart-0.8.0 + helm: + releaseName: vertical-pod-autoscaler + values: | + recommender: + enabled: true + replicas: 1 + updater: + enabled: true + replicas: 1 + admissionController: + enabled: true + replicas: 1 + destination: + namespace: kube-system + server: https://kubernetes.default.svc + syncPolicy: + syncOptions: + - CreateNamespace=true + - ServerSideApply=true + automated: + prune: true + selfHeal: true \ No newline at end of file