aboutsummaryrefslogtreecommitdiffstats
path: root/tools/k8s/cluster-deployment/k8scluster/roles/clustermanager/tasks/deploy-sriov.yml
blob: aaff5cf0617563a1fcf77c0c5869e7b05cdbe4c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---

- name: clean sriov
  include: clear-sriov.yml

- name: Deploy SRIOV Device Plugin Config
  k8s:
    state: present
    apply: yes
    definition: "{{ lookup('file', 'configMap-sriov-device-plugin.yaml') }}"
    wait: yes

- name: Deploy SRIOV Device Plugin
  k8s:
    state: present
    apply: yes
    definition: "{{ lookup('file', 'sriov-device-plugin-daemonset.yaml') }}"

- name: Deploy SRIOV CNI
  k8s:
    state: present
    apply: yes
    definition: "{{ lookup('file', 'sriov-cni-daemonset.yaml') }}"