NUMA Affinity Extension Installation Guide Using Add-ons
Background
When using the BKE installation and deployment tool for cluster construction, users can implement:
- NUMA Affinity Plugin Installation: Directly install NUMA affinity plugin through BKE's Addon mechanism during cluster creation, without relying on the openFuyao application marketplace.
Prerequisites
- Bootstrap node initialization is complete, and the bootstrap cluster is running normally.
- Cluster configuration files are prepared.
Note:
The bke-cluster.yaml and bke-node.yaml referenced below are files on the bootstrap node for configuring cluster installation information, located in the
/bke/cluster/directory. These files are used to define cluster configuration, Addon configuration, node information, and other content.
Restrictions
None.
Procedure
Configure NUMA affinity plugin.
Add NUMA affinity plugin configuration in the
addonssection ofbke-cluster.yaml:yamlspec: clusterConfig: addons: - name: numa-affinity-package param: openfuyaoRepo: oci://cr.openfuyao.cn/charts version: v0.0.2Note:
openfuyaoRepo: Chart repository address, please fill in according to actual environment.version: Plugin version number, please ensure compatibility with cluster environment. If you choose to pre-install openFuyao components, select version v0.0.1; if you independently install numa affinity without installing openFuyao, select version v0.0.2.
Create cluster.
Execute cluster creation command:
bashbke cluster create -f /path/to/bke-cluster.yaml -n /path/to/bke-node.yamlVerify installation.
After cluster creation is complete, execute the following command to verify whether the plugin is successfully installed:
bashkubectl get pod -A
Configuration Example
The following is a complete configuration snippet including NUMA affinity plugin:
spec:
clusterConfig:
addons:
- name: kubeproxy
param:
clusterNetworkMode: calico
version: v1.33.1
- name: calico
param:
calicoMode: vxlan
version: v3.27.3
- name: coredns
version: v1.10.1
- name: numa-affinity-package
param:
openfuyaoRepo: oci://cr.openfuyao.cn/charts
version: v0.0.2