blob: d085c7cc2b565ad20486e7e3a9a27af10308164a (
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
|
---
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2020
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-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
bus_info: "19:00.1"
device_info: "8086:1572:0200"
driver: iavf
sriov_dpdk:
- name: eno4
bus_info: "19:00.3"
device_info: "8086:1572:0200"
driver: vfio-pci
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
hugepages_1G: 0
hugepages_2M: 10240
isolcpus:
enable: true
cpus: "8-27,36-55"
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
psp: true
|