Add the k8s and mesos proxy doc.

Change-Id: Id794b7c0e2552cbca70610e42deccbc7946c1af4
Implements: blueprint add-proxy-mesos
Depends-On: I507f3adffbc90b277705dc553b0fd906e3276cc8
This commit is contained in:
wangqun
2016-01-12 08:44:06 +00:00
parent 24e05933de
commit 99b53df961

View File

@@ -7,7 +7,9 @@ for using services like docker, kubernetes and mesos. Use these steps
when your firewall will not allow you to use those services without a when your firewall will not allow you to use those services without a
proxy. proxy.
**NOTE:** This feature only works with Swarm bays. **NOTE:** This feature has only been tested with the supported bay type
and associated image: Kubernetes and Swarm bay using the Fedora Atomic
image, and Mesos bay using the Ubuntu image.
Proxy Parameters to define before use Proxy Parameters to define before use
===================================== =====================================
@@ -38,6 +40,16 @@ Steps to configure proxies.
You can specify all three proxy parameteres while creating baymodel of any You can specify all three proxy parameteres while creating baymodel of any
coe type. All of proxy parameters are optional. coe type. All of proxy parameters are optional.
magnum baymodel-create --name k8sbaymodel \
--image-id fedora-21-atomic-5 \
--keypair-id testkey \
--external-network-id public \
--dns-nameserver 8.8.8.8 \
--flavor-id m1.small \
--coe kubernetes \
--http-proxy <http://abc-proxy.com:8080> \
--https-proxy <https://abc-proxy.com:8080> \
--no-proxy <172.24.4.4,172.24.4.9,172.24.4.8>
magnum baymodel-create --name swarmbaymodel \ magnum baymodel-create --name swarmbaymodel \
--image-id fedora-21-atomic-5 \ --image-id fedora-21-atomic-5 \
--keypair-id testkey \ --keypair-id testkey \
@@ -48,3 +60,13 @@ coe type. All of proxy parameters are optional.
--http-proxy <http://abc-proxy.com:8080> \ --http-proxy <http://abc-proxy.com:8080> \
--https-proxy <https://abc-proxy.com:8080> \ --https-proxy <https://abc-proxy.com:8080> \
--no-proxy <172.24.4.4,172.24.4.9,172.24.4.8> --no-proxy <172.24.4.4,172.24.4.9,172.24.4.8>
magnum baymodel-create --name mesosbaymodel \
--image-id ubuntu-mesos \
--keypair-id testkey \
--external-network-id public \
--dns-nameserver 8.8.8.8 \
--flavor-id m1.small \
--coe mesos \
--http-proxy <http://abc-proxy.com:8080> \
--https-proxy <https://abc-proxy.com:8080> \
--no-proxy <172.24.4.4,172.24.4.9,172.24.4.8>