Google 容器引擎中的 MaxGCEPDVolumeCount

MaxGCEPDVolumeCount in Google Container Engine

现在,您可以将超过 16 个永久性磁盘附加到使用标准实例类型的 Google Compute Engine 节点。使用 Kubernetes (GKE) 时有一个限制 (MaxGCEPDVolumeCount),默认为 16。

我尝试通过 kube-env 中的设置 KUBE_MAX_PD_VOLS 更改它,但它不起作用。 KUBE_MAX_PD_VOLS应该如何正确增加?

谢谢

实际上并不像更改MaxGCEPDVolumeCount那么简单,因为新的限制是per-machine-type. Since a cluster can have nodes with different machine types, kubernetes needs support in the scheduler to understand how many disks can be attached on a per-node basis. That support is being worked on,将在以后的版本中提供。