...
Openstack Magnum is the Container Infrastructure service, which gives you the possibility to create container clusters like docker-swarm and kubernetes as native resource resources in Openstack. For more information about the service, and offical documentaions, read the user guide and the Magnum Wiki page
...
To get you started, there is a few public Container Cluster Templates available in our cloud. These are verified working by us.
...
Private templates can be created by users
Create a cluster
...
. Please consult the documentation to find which parameters is needed for different Container Orchestration Engines.
Note |
---|
We know that Fedora AtomicHost 29 is deprecated and EoL, but support for Fedora CoreOS was added in Openstack Train. We are currently running Openstack Stein (one version older), but we are planning updates. |
Create a cluster
The different container orchestration engines has different parameters. For an extensive and complete list, check the documentation.
Examples
Docker Swarm
This will create Docker Swarm cluster with one master node, and one worker node
Code Block |
---|
openstack coe cluster create <clustername> --cluster-template docker-swarm-template --master-count 1 --node-count 1 --keypair <your keypair> |
Kubernetes
This will create a kubernetes cluster with one master node, and one minion
Code Block |
---|
$ openstack coe cluster create <clustername> --cluster-template kubernetes-template --master-count 1 --node-count 1 --keypair <your keypair> |
Use a cluster
Docker Swarm
...