File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -22,16 +22,6 @@ kubectl apply --server-side -k "github.com/ray-project/kuberay/ray-operator/conf
2222
2323kubectl create ns codeflare-system --dry-run=client -o yaml | kubectl apply -f -
2424
25- echo Deploying MCAD controller
26- cat << EOF | kubectl apply -n codeflare-system -f -
27- apiVersion: codeflare.codeflare.dev/v1alpha1
28- kind: MCAD
29- metadata:
30- name: mcad
31- spec:
32- controllerResources: {}
33- EOF
34-
3525cat << EOF | kubectl apply -n codeflare-system -f -
3626apiVersion: rbac.authorization.k8s.io/v1
3727kind: ClusterRole
@@ -61,13 +51,10 @@ metadata:
6151 name: mcad-controller-rayclusters
6252subjects:
6353 - kind: ServiceAccount
64- name: mcad- controller-mcad
54+ name: controller-manager
6555 namespace: codeflare-system
6656roleRef:
6757 apiGroup: rbac.authorization.k8s.io
6858 kind: ClusterRole
6959 name: mcad-controller-rayclusters
7060EOF
71-
72- echo " Waiting for the MCAD deployment to become ready..."
73- kubectl wait --timeout=120s --for=condition=Available=true deployment -n codeflare-system mcad-controller-mcad
You can’t perform that action at this time.
0 commit comments