summaryrefslogtreecommitdiffstats
path: root/hw_config/intel/idf.yaml
blob: dc956387ece819bc2cf3eada4bb9d23a73a454bc (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
---

# SPDX-FileCopyrightText: 2021 Anuket contributors
#
# SPDX-License-Identifier: Apache-2.0

idf:
  version: 0.1
  net_config: &net_config
    oob:
      interface: 0
      network: 10.10.190.0
      gateway: 10.10.190.1
      vlan: native
      mask: 24
      dns:
        - 8.8.8.8
    public:
      interface: 1
      network: 10.10.191.0
      vlan: native
      mask: 24
      dns:
        - 8.8.8.8
  kubespray: &idf_kubespray
    nodes_roles:
      node1: [k8s-cluster, kube-master, etcd, vault]
      node2: [k8s-cluster, kube-master, etcd]
      node3: [k8s-cluster, kube-master, etcd]
      node4: [k8s-cluster, kube-node]
      node5: [k8s-cluster, kube-node]
    groups:
      k8s-cluster:
        - kube-node
        - kube-master
    hostnames:
      node1: master1
      node2: master2
      node3: master3
      node4: node1
      node5: node2
    network:
      # network mapping
      network_mapping:
        net_admin: oob
        # Public network
        net_public: oob
        # Management network used by installer components to communicate
        net_mgmt: oob

engine:
  pod_name: pod19-jump
  net_config: *net_config

  # net_config network to be used by the PXE
  pxe_network: oob

  # net_config network to be used for the internet access
  public_network: public

  # interface to be used by the PXE
  pxe_interface: ens4

  installers:
    kubespray: *idf_kubespray

bmra:
  profile: full_nfv
  network_roles:
    sriov:
      - name: eth0
        pci: "18:00.0"
        pf_driver: i40e
        vf_driver: vfio-pci
    sriov_dpdk:
      - name: eth1
        pci: "18:00.1"
        pf_driver: i40e
        vf_driver: iavf
  device_roles:
#    qat:
#      - name: crypto01
#        pci: "0000:ab:00.0"
#        pci_type: c6xx
#        vfs: 4
  runtime: docker # 'docker' and 'containerd' supported
  features:
    sriov:
      enable: true
      sriov_vfs_per_port: 2
      sriov_dpdk_vfs_per_port: 4
    sriov_cni: true
    sriov_net_dp: true
    hugepages:
      enable: true
      default: 2M
      amount: 10240
    isolcpus:
      enable: true
      autogenerate: true
      cpus: "4-19,24-39,44-59,64-79" # Not used when autogenerate is true
    nfd: true
    cmk:
      enable: true
      num_shared_cores: 3
      num_exclusive_cores: 3
    topology_manager:
      enable: true
      policy: "best-effort"
    tas:
      enable: true
      demo_policy: false
    bond_cni: true
    psp: true
    qat:
      enable: false
      update_drivers: false