Skip to content

Instantly share code, notes, and snippets.

@danehans
Created October 19, 2015 20:31
Show Gist options
  • Save danehans/e113c3a69195f7571ce4 to your computer and use it in GitHub Desktop.
Save danehans/e113c3a69195f7571ce4 to your computer and use it in GitHub Desktop.
magnum k8s flannel cnm example
$ magnum --debug baymodel-create --name test123 --image-id fedora-21-atomic-6 \
--keypair-id test --external-network-id public --dns-nameserver 1.1.1.1 \
--flavor-id m1.small --coe kubernetes --docker-volume-size 2 \
--labels flannel_use_vxlan=true,flannel_network_subnetlen=26,flannel_network_cidr=1.1.0.0/16
$ magnum baymodel-show test123
+---------------------+--------------------------------------------------------------------------------------------------------+
| Property | Value |
+---------------------+--------------------------------------------------------------------------------------------------------+
| http_proxy | None |
| updated_at | None |
| master_flavor_id | None |
| fixed_network | None |
| uuid | 1c0fc4f9-d223-4dc1-aec2-c31279bd30ec |
| no_proxy | None |
| https_proxy | None |
| tls_disabled | False |
| keypair_id | danehans |
| public | False |
| labels | {'flannel_network_subnetlen': '26', 'flannel_network_cidr': '1.1.0.0/16', 'flannel_use_vxlan': 'true'} |
| docker_volume_size | 2 |
| external_network_id | public |
| cluster_distro | fedora-atomic |
| image_id | fedora-21-atomic-6 |
| registry_enabled | False |
| apiserver_port | None |
| name | test123 |
| created_at | 2015-10-19T20:27:34+00:00 |
| network_driver | None |
| ssh_authorized_key | None |
| coe | kubernetes |
| flavor_id | m1.small |
| dns_nameserver | 172.29.74.154 |
+---------------------+--------------------------------------------------------------------------------------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment