fix(kueue): Add sync-wave hooks

This commit is contained in:
2026-03-16 15:05:10 +01:00
parent bf6542398c
commit 7eda27cdd6
2 changed files with 15 additions and 1 deletions
+14 -1
View File
@@ -1,7 +1,9 @@
apiVersion: kueue.x-k8s.io/v1beta1
kind: ResourceFlavor
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:
nodeLabels:
node-role.kubernetes.io/compute: compute
@@ -11,6 +13,8 @@ apiVersion: kueue.x-k8s.io/v1beta1
kind: ClusterQueue
metadata:
name: cluster-queue
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
cohort: general
namespaceSelector: {} # Accept workloads from any namespace
@@ -35,11 +39,20 @@ spec:
# spec:
# clusterQueue: cluster-queue
---
apiVersion: v1
kind: Namespace
metadata:
name: dev-queue
annotations:
argocd.argoproj.io/sync-wave: "2"
---
apiVersion: kueue.x-k8s.io/v1beta1
kind: LocalQueue
metadata:
name: staging-queue
namespace: dev-queue
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
clusterQueue: cluster-queue
# ---
+1
View File
@@ -5,6 +5,7 @@ metadata:
name: kueue
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "1"
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
argocd.argoproj.io/compare-options: ServerSideDiff=true
finalizers: