Add priorityclass app
This commit is contained in:
parent
5479e21743
commit
c2ac973b91
20
argocd-apps/rancher-priorityclass.yaml
Normal file
20
argocd-apps/rancher-priorityclass.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: rancher-priorityclass
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: infra
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: cattle-system
|
||||||
|
source:
|
||||||
|
repoURL: https://git.dvirlabs.com/dvirlabs/infra.git
|
||||||
|
targetRevision: HEAD
|
||||||
|
path: manifests/rancher
|
||||||
|
directory:
|
||||||
|
recurse: true
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
selfHeal: true
|
||||||
|
prune: true
|
||||||
7
manifests/rancher/priorityclass.yaml
Normal file
7
manifests/rancher/priorityclass.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
apiVersion: scheduling.k8s.io/v1
|
||||||
|
kind: PriorityClass
|
||||||
|
metadata:
|
||||||
|
name: rancher-critical
|
||||||
|
value: 1000000000
|
||||||
|
globalDefault: false
|
||||||
|
description: "Used for Rancher system components"
|
||||||
Loading…
x
Reference in New Issue
Block a user