Install Guide update and enhancements. Change-Id: I2ed989bc405d6dbcb6f169afef0eaf7170f34dbd Signed-off-by: Elisamara Aoki Gonçalves <elisamaraaoki.goncalves@windriver.com>
2.5 KiB
Convert Worker Nodes
In a hybrid (Kubernetes and OpenStack) cluster scenario you may need
to convert worker nodes to/from
openstack-compute-nodes.
- Convert a k8s-only worker into a OpenStack compute
Lock the worker host:
system host-lock <host>Add the
openstack-compute-nodetaint.kubectl taint nodes <kubernetes-node-name> openstack-compute-node:NoScheduleAssign OpenStack labels:
system host-label-assign <host> --overwrite openstack-compute-node=enabled openvswitch=enabled dpdk=enabled sriov=enabledAllocate vswitch huge pages:
system host-memory-modify -1G 1 -f vswitch <host> 0 system host-memory-modify -1G 1 -f vswitch <host> 1Change the class of the data network interface:
system host-if-modify -c data <host> <if_name_or_uuid>Note
If data network interface does not exist yet, refer to documentation on creating it.
Change Kubernetes CPU Manager Policy to allow to use application cores:
system host-label-remove <host> kube-cpu-mgr-policyUnlock the worker host:
system host-unlock <host>
- Convert a OpenStack compute into a k8s-only worker.
Lock the worker host:
system host-lock <host>Remove OpenStack labels:
system host-label-remove <host> openstack-compute-node openvswitch dpdk sriovNote
The labels have to be removed, not to have its values changed.
Deallocate vswitch huge pages:
system host-memory-modify -1G 0 -f vswitch <host> 0 system host-memory-modify -1G 0 -f vswitch <host> 1Change the class of the data network interface:
system host-if-modify -c none <host> <if_name_or_uuid>Note
This change is needed to avoid raising a permanent alarm for the interface without the need to delete it.
Unlock the worker host:
system host-unlock <host>