Füge argocd-project-homelab.yaml und application.yaml für vertikale Pod-Autoskalierung hinzu
This commit is contained in:
@@ -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: '*'
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user