Skip to content

Instantly share code, notes, and snippets.

@seanhandley
Last active December 9, 2016 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seanhandley/24fbdf6a8a288c71b65c469b02794bc6 to your computer and use it in GitHub Desktop.
Save seanhandley/24fbdf6a8a288c71b65c469b02794bc6 to your computer and use it in GitHub Desktop.
Magnum from scratch
# You'll need a container OS like Fedora Atomic first
wget https://fedorapeople.org/groups/magnum/fedora-atomic-latest.qcow2
openstack image create fedora-atomic-latest --disk-format "qcow2" --public \
--container-format 'bare' \
--file 'fedora-atomic-latest.qcow2' \
--property os_distro=fedora-atomic
# Use your own keypair name in place of 'kp'
magnum cluster-template-create --name='k8s-cluster-template' --image-id='fedora-atomic-latest' \
--keypair-id='kp' --external-network-id='public' --master-flavor-id='m1.small' \
--flavor-id='m1.small' --coe='kubernetes' --docker-volume-size=3 --dns-nameserver='8.8.8.8' \
--tls-disabled
magnum cluster-create --name='k8s-cluster' --cluster-template='k8s-cluster-template' --master-count=1 --node-count=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment