经典集群: 为什么启用 Ingress ALB 会导致子网错误?

经典基础设施

尝试通过运行 ibmcloud ks ingress alb enable 命令来启用 Ingress ALB 时,您会看到以下错误:

No valid subnets found for the specified zone. Verify that a subnet exists on the VLAN in the zone that you specify by running 'ibmcloud ks subnets'. Note: If the problem persists, verify that your ALBs and worker nodes are on the same VLANs by following the steps in this troubleshooting doc: <https://ibm.biz/alb-vlan-ts>

但是,您已运行 ibmcloud ks subnets 并验证存在 ALB 的专区中的 VLAN 上是否有一个或多个子网可用。

ALB 和工作程序节点可能不存在于同一 VLAN 上。

当您删除最初也在其中创建 ALB 的 VLAN 上的工作程序节点,然后在新的 VLAN 上创建新的工作程序节点时,可能会发生此情况。

通过执行 在 VLAN 之间移动 ALB 中的步骤,将 ALB 移至工作程序节点所在的 VLAN。