Skip to content

Commit e909856

Browse files
committed
Operator Install Fix
Signed-off-by: Anurag Guda <[email protected]>
1 parent 03fb14a commit e909856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playbooks/operators-install.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@
331331
set_fact: nodes_group="{{ groups['nodes'] | length }}"
332332

333333
- name: Container Networking Plugin changes
334-
when: "enable_gpu_operator == true and nodes_group | int >= 1"
334+
when: "enable_gpu_operator == true"
335335
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"
336336

337337
- name: Install NIM Operator

0 commit comments

Comments
 (0)