Last active
December 9, 2016 16:38
-
-
Save seanhandley/24fbdf6a8a288c71b65c469b02794bc6 to your computer and use it in GitHub Desktop.
Magnum from scratch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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