Skip to content

Commit dac9869

Browse files
committed
Update MultiKueue examples to v1beta2
1 parent f4d1387 commit dac9869

File tree

2 files changed

+18
-14
lines changed

2 files changed

+18
-14
lines changed

site/static/examples/multikueue/multikueue-setup.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ spec:
1818
nominalQuota: 9
1919
- name: "memory"
2020
nominalQuota: 36Gi
21-
admissionChecks:
22-
- sample-multikueue
21+
admissionChecksStrategy:
22+
admissionChecks:
23+
- name: sample-multikueue
2324
---
2425
apiVersion: kueue.x-k8s.io/v1beta2
2526
kind: LocalQueue
@@ -53,9 +54,10 @@ kind: MultiKueueCluster
5354
metadata:
5455
name: multikueue-test-worker1
5556
spec:
56-
kubeConfig:
57-
locationType: Secret
58-
location: worker1-secret
59-
# a secret called "worker1-secret" should be created in the namespace the kueue
60-
# controller manager runs into, holding the kubeConfig needed to connect to the
61-
# worker cluster in the "kubeconfig" key;
57+
clusterSource:
58+
kubeConfig:
59+
locationType: Secret
60+
location: worker1-secret
61+
# a secret called "worker1-secret" should be created in the namespace the kueue
62+
# controller manager runs into, holding the kubeConfig needed to connect to the
63+
# worker cluster in the "kubeconfig" key;

site/static/examples/multikueue/tas/manager-setup.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,20 @@ kind: MultiKueueCluster
4040
metadata:
4141
name: worker1
4242
spec:
43-
kubeConfig:
44-
locationType: Secret
45-
location: worker1-secret
43+
clusterSource:
44+
kubeConfig:
45+
locationType: Secret
46+
location: worker1-secret
4647
---
4748
apiVersion: kueue.x-k8s.io/v1beta2
4849
kind: MultiKueueCluster
4950
metadata:
5051
name: worker2
5152
spec:
52-
kubeConfig:
53-
locationType: Secret
54-
location: worker2-secret
53+
clusterSource:
54+
kubeConfig:
55+
locationType: Secret
56+
location: worker2-secret
5557
---
5658
apiVersion: kueue.x-k8s.io/v1beta2
5759
kind: ClusterQueue

0 commit comments

Comments
 (0)