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