mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-23 01:24:36 +07:00
Add descheduler to operations layer
This commit is contained in:
parent
53b3c388ef
commit
73771d39c3
@ -1,21 +0,0 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: descheduler
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
name: in-cluster
|
||||
namespace: kube-system
|
||||
server: ''
|
||||
source:
|
||||
path: ''
|
||||
repoURL: 'https://kubernetes-sigs.github.io/descheduler/'
|
||||
targetRevision: 0.20.0
|
||||
chart: descheduler
|
||||
project: default
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
28
bootstrap/root-app/applicationsets/operations.yaml
Normal file
28
bootstrap/root-app/applicationsets/operations.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: operations
|
||||
spec:
|
||||
generators:
|
||||
- git:
|
||||
repoURL: https://github.com/khuedoan/homelab.git
|
||||
revision: master
|
||||
directories:
|
||||
- path: operations/*
|
||||
template:
|
||||
metadata:
|
||||
name: '{{path.basename}}'
|
||||
spec:
|
||||
destination:
|
||||
name: in-cluster
|
||||
namespace: '{{path.basename}}'
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://github.com/khuedoan/homelab.git
|
||||
path: '{{path}}'
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
@ -5,7 +5,7 @@ resources:
|
||||
# - projects/system.yaml
|
||||
- applicationsets/bootstrap.yaml
|
||||
- applicationsets/system.yaml
|
||||
# - applicationsets/operations.yaml
|
||||
- applicationsets/operations.yaml
|
||||
# - applicationsets/applications.yaml
|
||||
|
||||
namespace: argocd
|
||||
|
7
operations/descheduler/Chart.yaml
Normal file
7
operations/descheduler/Chart.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
apiVersion: v2
|
||||
name: descheduler
|
||||
version: 0.20.0
|
||||
dependencies:
|
||||
- name: descheduler
|
||||
version: 0.20.0
|
||||
repository: https://kubernetes-sigs.github.io/descheduler/
|
0
operations/descheduler/values.yaml
Normal file
0
operations/descheduler/values.yaml
Normal file
Loading…
Reference in New Issue
Block a user