標準叢集: 為何啟用 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。