Skip to Main Content
Extending OpenStack
book

Extending OpenStack

by Omar Khedher
February 2018
Intermediate to advanced content levelIntermediate to advanced
300 pages
6h 17m
English
Packt Publishing
Content preview from Extending OpenStack

Example – application server

In the following example, we will set up a new Magnum bay running the Kubernetes cluster as COE. The Kubernetes cluster will deploy a simple application server running WordPress and listening on port 8080 as follows:

  1. Create a new Magnum cluster template to deploy a Kubernetes cluster:
# magnum cluster-template-create --name coe-swarm-template \                                 --image-id fedora-latest \                                  --keypair-id pp_key \                                  --external-network-id pub-net\                                  --dns-nameserver 8.8.8.8 \                                  --flavor-id m1.small \                                  --docker-volume-size 4 \                                  --network-driver docker \                                  --coe swarm # magnum cluster-template-create --name coe-k8s-template \                                  --image fedora-latest \                                  --keypair-id pp_key \                                  --external-network-id pub-net\                                  --dns-nameserver 8.8.8.8 \ --flavor-id m1.small ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Containers in OpenStack

Containers in OpenStack

Pradeep Kumar Singh, Madhuri Kumari

Publisher Resources

ISBN: 9781786465535Supplemental Content