fix(kueue): Add sync-wave hooks
This commit is contained in:
@@ -2,6 +2,8 @@ apiVersion: kueue.x-k8s.io/v1beta1
|
|||||||
kind: ResourceFlavor
|
kind: ResourceFlavor
|
||||||
metadata:
|
metadata:
|
||||||
name: compute # Just needs to exist, can be managed with tains/tolerations
|
name: compute # Just needs to exist, can be managed with tains/tolerations
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "2"
|
||||||
spec:
|
spec:
|
||||||
nodeLabels:
|
nodeLabels:
|
||||||
node-role.kubernetes.io/compute: compute
|
node-role.kubernetes.io/compute: compute
|
||||||
@@ -11,6 +13,8 @@ apiVersion: kueue.x-k8s.io/v1beta1
|
|||||||
kind: ClusterQueue
|
kind: ClusterQueue
|
||||||
metadata:
|
metadata:
|
||||||
name: cluster-queue
|
name: cluster-queue
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "2"
|
||||||
spec:
|
spec:
|
||||||
cohort: general
|
cohort: general
|
||||||
namespaceSelector: {} # Accept workloads from any namespace
|
namespaceSelector: {} # Accept workloads from any namespace
|
||||||
@@ -35,11 +39,20 @@ spec:
|
|||||||
# spec:
|
# spec:
|
||||||
# clusterQueue: cluster-queue
|
# clusterQueue: cluster-queue
|
||||||
---
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: dev-queue
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "2"
|
||||||
|
---
|
||||||
apiVersion: kueue.x-k8s.io/v1beta1
|
apiVersion: kueue.x-k8s.io/v1beta1
|
||||||
kind: LocalQueue
|
kind: LocalQueue
|
||||||
metadata:
|
metadata:
|
||||||
name: staging-queue
|
name: staging-queue
|
||||||
namespace: dev-queue
|
namespace: dev-queue
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "2"
|
||||||
spec:
|
spec:
|
||||||
clusterQueue: cluster-queue
|
clusterQueue: cluster-queue
|
||||||
# ---
|
# ---
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ metadata:
|
|||||||
name: kueue
|
name: kueue
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
annotations:
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "1"
|
||||||
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
||||||
argocd.argoproj.io/compare-options: ServerSideDiff=true
|
argocd.argoproj.io/compare-options: ServerSideDiff=true
|
||||||
finalizers:
|
finalizers:
|
||||||
|
|||||||
Reference in New Issue
Block a user