summaryrefslogtreecommitdiffstats
path: root/hw_config/equinix-metal/idf.yaml
blob: a1f9ef86d5aada07b5770244ad307fd6349eb07a (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
---

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

idf:
  version: 0.1
  net_config: &net_config
    public:
      interface: 0
  kubespray: &idf_kubespray
    nodes_roles:
      node1: [kube-master, etcd]
      node2: [kube-node]
    groups:
      k8s-cluster:
        - kube-node
        - kube-master
    hostnames:
      # Update with hostnames of servers (node1: master, node2: worker)
      node1: kref-mst
      node2: kref-wrk

engine:
  pod_name: kref-jmp
  net_config: *net_config

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

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

  installers:
    kubespray: *idf_kubespray

bmra:
  profile: full_nfv
  network_roles:
    sriov:
      - name: eno2
        pci: "19:00.1"
        pf_driver: i40e
        vf_driver: iavf
    sriov_dpdk:
      - name: eno4
        pci: "19:00.3"
        pf_driver: i40e
        vf_driver: vfio-pci
  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: "8-27,36-55" # 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