File tree Expand file tree Collapse file tree
roles/nvidia-network-operator Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22# Deploy network operator related tasks on master node
33#
44
5- - name : label the nodes
5+ - name : label the nodes # noqa command-instead-of-shell
66 shell : kubectl label --overwrite nodes {{ item }} node-role.kubernetes.io/worker=
7- with_items : " {{ groups['kube-node']}}"
7+ with_items : " {{ groups['kube-node'] }}"
8+ changed_when : false
89
910# # required as the DeepOps openshift role doesn't work
10- - name : Install openshift
11+ - name : Install openshift # noqa command-instead-of-shell
1112 shell : pip3 install openshift
13+ changed_when : false
1214
1315- name : Add helm repo for network operator
1416 kubernetes.core.helm_repository :
1517 name : mellanox
16- repo_url : " {{nvidia_network_operator_url}}"
18+ repo_url : " {{ nvidia_network_operator_url }}"
1719
1820- name : Deploy network operator helm chart
1921 kubernetes.core.helm :
3436 include_tasks : sriovibnetwork.yaml
3537 with_items : " {{ intf_resources }}"
3638
37- - name : Install latest Kubeflow MPI-Operator
39+ - name : Install latest Kubeflow MPI-Operator
3840 k8s :
3941 state : present
40- definition : " {{ lookup('url', '{{mpi_raw_url}}/mpi-operator.yaml', split_lines=False) }}"
42+ definition : " {{ lookup('url', '{{ mpi_raw_url }}/mpi-operator.yaml', split_lines=False) }}"
4143 run_once : true
Original file line number Diff line number Diff line change 1111 {
1212 "type": "whereabouts",
1313 "datastore": "kubernetes",
14- "kubernetes": {
14+ "kubernetes": {
1515 "kubeconfig": "/etc/cni/net.d/whereabouts.d/whereabouts.kubeconfig"
1616 },
1717 "range": "{{ item.ip_addr }}",
Original file line number Diff line number Diff line change 22#
33# variables for VFs, resource names,interface names and software versions.
44# pf_name is the physical interface with sriov enabled
5- # res_name must match container's network resources in job file
5+ # res_name must match container's network resources in job file
66# if_name must match k8s network annotation name
77#
88
You can’t perform that action at this time.
0 commit comments