如何提高Azure AKS虚拟kubelet上ipAddress端口的限制

时间:2018-10-30 11:27:48

标签: azure azure-kubernetes azure-aks

我有一个需要6个开放端口(即80、587、3306、20、21、22)的Docker容器,我想在Azure AKS虚拟kubelet上运行该端口。

但是,Azure AKS虚拟kubelet在容器允许的开放端口数上有5个限制,并且出现“ TooManyIpAddressPorts”错误。可以为端口数设置更高的限制吗?

$ kubectl describe pod myjob-pf88c
Name:           myjob-pf88c
Namespace:      default
Node:           virtual-kubelet-vkubelet-linux/
Labels:         controller-uid=GUID
                job-name=myjob
Annotations:    <none>
Status:         Failed
Reason:         ProviderFailed
Message:        api call to https://management.azure.com/subscriptions/{GUID}/resourceGroups/MC_{ResourceGroup}/providers/Microsoft.ContainerInstance/containerGroups/default-myjob-pf88c?api-version=2018-09-01: got HTTP response status code 400 error code "TooManyIpAddressPorts": The container group 'default-myjob-pf88c' has '6' 'ipAddress' ports. The maximum allowed number of 'ipAddress' ports is '5'.

0 个答案:

没有答案