【发布时间】:2017-06-22 17:28:27
【问题描述】:
我已经使用 azure acs 和 azure cli 在 azure 中设置了 kubernetes。
az account list
az account set --subscription foobar
az group create --name foobar --location westus
az acs create --orchestrator-type=kubernetes --resource-group foobar --master-count 1 --name=foobar --dns-prefix=foobar
我希望能够设置站点到站点 vpn,以便 kubernetes 可以访问我的数据中心中的内部服务。
不幸的是,azure acs 在 10.0.0.0 网络上设置了 kubernetes,该网络与 azure 和我的数据中心中的其他资源重叠。
我找不到任何方法来更改 kubernetes 在 acs 中运行的子网。有没有办法改变首选网络?
似乎没有办法从 acs create 命令中选择网络
az acs create --name
--resource-group
[--admin-password]
[--admin-username]
[--agent-count]
[--agent-vm-size]
[--client-secret]
[--dns-prefix]
[--generate-ssh-keys]
[--location]
[--master-count]
[--no-wait]
[--orchestrator-type {Custom, DCOS, Kubernetes, Swarm}]
[--service-principal]
[--ssh-key-value]
[--tags]
[--validate]
[--windows]
【问题讨论】: