Add a compute node¶
This section describes how to add a new compute node to your existing Mirantis OpenStack for Kubernetes deployment.
To add a compute node:
Add a bare metal host to the managed cluster with MOSK as described in Add a bare metal host.
Create a Kubernetes machine in your cluster as described in Add a machine.
When adding the machine, specify the node labels as required for an OpenStack compute node:
OpenStack control plane
Hosts the OpenStack control plane services such as database, messaging, API, schedulers, conductors, L3 and L2 agents.
Hosts the OpenStack compute services such as libvirt and L2 agents.
openvswitch=enabled(for a deployment with Open vSwitch as a back end for networking)
If required, configure the compute host to enable DPDK, huge pages, SR-IOV, and other advanced features in your MOSK deployment. See Advanced OpenStack configuration (optional) for details.
Once the node is available in Kubernetes and when the
neutronpods are running on the node, verify that the compute service and Neutron agents are healthy in OpenStack API.
openstack network agent list --host <cmp_host_name> openstack compute service list --host <cmp_host_name>
Verify that the compute service is mapped to cell.
The OpenStack controller triggers the
nova-cell-setupjob once it detects a new compute pod in the
Readystate. This job sets mapping for new compute services to cells.
nova-manage cell_v2 list_hosts | grep <cmp_host_name>