Skip to content

Commit 36cefa2

Browse files
authored
Merge pull request #104 from angudadevops/ofed_fix
Operator Install Fix 2
2 parents 7b5ad79 + eb87ecc commit 36cefa2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

playbooks/operators-install.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,6 @@
327327
shell: 'sleep 60; kubectl get clusterpolicy cluster-policy -o yaml | sed "/validator:/a\ driver:\n env:\n - name: DISABLE_DEV_CHAR_SYMLINK_CREATION\n value: \"true\"" | kubectl apply -f -'
328328
when: "enable_gpu_operator == true and container_runtime == 'cri-dockerd'"
329329

330-
- name: nodes length
331-
set_fact: nodes_group="{{ groups['nodes'] | length }}"
332-
333330
- name: Container Networking Plugin changes
334331
when: "enable_gpu_operator == true"
335332
shell: "sleep 20; timeout 15 kubectl delete pods $(kubectl get pods -n kube-system | grep core | awk '{print $1}') -n kube-system; for ns in `kubectl get pods -A | grep node-feature | grep -v master | awk '{print $1}'`; do kubectl get pods -n $ns | grep node-feature | grep -v master | awk '{print $1}' | xargs kubectl delete pod -n $ns; done"

0 commit comments

Comments
 (0)