Magnum provides seamless management for the life cycle of the cluster in OpenStack. The current operations are the basic CRUD operations, with some advance features such as the scaling of the cluster, setting up external load balancers, setting up a secure cluster with TLS, and so on. In this section, we will create a Swarm Cluster Template, use this template to create a Swarm cluster, and then, we will run some workloads on the cluster to verify our cluster status.
First, we will prepare our session to be able to use the various OpenStack clients including Magnum, Neutron, and Glance. Create a new shell and source the DevStack openrc script:
$ source /opt/stack/devstack/openrc admin admin
Create a keypair to use with the cluster ...