summaryrefslogtreecommitdiffstats
path: root/sw_config/bmra/kube-node.yml
diff options
context:
space:
mode:
authorRihab Banday <rihab.banday@ericsson.com>2020-09-10 18:50:45 +0200
committerRihab Banday <rihab.banday@ericsson.com>2020-09-11 09:52:35 +0000
commitfa8a8f4779bbfe58c0588b4fe19a887767737f78 (patch)
tree26a2ae41a6f29383db0ed666a5aafba434f4c707 /sw_config/bmra/kube-node.yml
parentcb3895c81c6931482e688a820013f6926644221d (diff)
Replace worker node specific config file by a common file
This change replaces the BMRA node1.yml file by a common config file under group_vars which includes overrides for all the worker nodes in a cluster. Change-Id: I305fd227ba0032f80cbf1daa9019fdfd881baa30 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71074 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michael.soelvkaer@gmail.com> Reviewed-by: Georg Kunz <georg.kunz@est.tech>
Diffstat (limited to 'sw_config/bmra/kube-node.yml')
-rw-r--r--sw_config/bmra/kube-node.yml63
1 files changed, 63 insertions, 0 deletions
diff --git a/sw_config/bmra/kube-node.yml b/sw_config/bmra/kube-node.yml
new file mode 100644
index 0000000..e103673
--- /dev/null
+++ b/sw_config/bmra/kube-node.yml
@@ -0,0 +1,63 @@
+---
+# Kubernetes node configuration
+
+# Enable SR-IOV networking related setup
+sriov_enabled: false
+
+# sriov_nics: SR-IOV PF specific configuration list
+sriov_nics:
+ - name: enp24s0f0 # PF interface names
+ sriov_numvfs: 2 # number of VFs to create for this PF(enp24s0f0)
+ vf_driver: vfio-pci # VF driver to be attached for all VFs under this PF(enp24s0f0), "i40evf", "iavf", "vfio-pci", "igb_uio"
+ ddp_profile: "gtp.pkgo" # DDP package name to be loaded into the NIC
+ - name: enp24s0f1
+ sriov_numvfs: 4
+ vf_driver: iavf
+
+sriov_cni_enabled: false
+
+# install DPDK
+install_dpdk: false # DPDK installation is required for sriov_enabled:true; default to false
+
+userspace_cni_enabled: false
+
+# Intel Bond CNI Plugin
+bond_cni_enabled: false
+
+vpp_enabled: false
+ovs_dpdk_enabled: false
+# CPU mask for OVS-DPDK PMD threads
+ovs_dpdk_lcore_mask: 0x1
+# Huge memory pages allocated by OVS-DPDK per NUMA node in megabytes
+# example 1: "256,512" will allocate 256MB from node 0 abd 512MB from node 1
+# example 2: "1024" will allocate 1GB fron node 0 on a single socket board, e.g. in a VM
+ovs_dpdk_socket_mem: "256,0"
+
+# Set to 'true' to update i40e and i40evf kernel modules
+force_nic_drivers_update: false
+
+# install Intel x700 & x800 series NICs DDP packages
+install_ddp_packages: false
+
+# Enables hugepages support
+hugepages_enabled: false
+
+# Hugepage sizes available: 2M, 1G
+default_hugepage_size: 1G
+
+# Sets how many hugepages of each size should be created
+hugepages_1G: 4
+hugepages_2M: 0
+
+# CPU isolation from Linux scheduler
+isolcpus_enabled: false
+isolcpus: "4-7"
+
+# Intel CommsPowerManagement
+sst_bf_configuration_enabled: false
+# Option sst_bf_mode requires sst_bf_configuration_enabled to be set to 'true'.
+# There are three configuration modes:
+# [s] Set SST-BF config (set min/max to 2700/2700 and 2100/2100)
+# [m] Set P1 on all cores (set min/max to 2300/2300)
+# [r] Revert cores to min/Turbo (set min/max to 800/3900)
+sst_bf_mode: s