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
|
---
# 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
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
bus_info: "18:00.0"
device_info: "8086:158b:0200"
driver: vfio-pci
sriov_dpdk:
- name: eth1
bus_info: "18:00.1"
device_info: "8086:158b:0200"
driver: iavf
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: "4-19,24-39,44-59,64-79"
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
|