VPC 클러스터를 작성할 때 SyncLoadBalancerFailed 오류가 표시되는 이유는 무엇입니까?
클러스터에서 네트워크 부하 분산 장치(NLB) 동기화가 실패할 때 발생하는 문제를 해결합니다.
VPC 클러스터에서 부하 분산을 설정할 때 다음 예와 유사한 오류 메시지가 표시됩니다.
Warning CreatingCloudLoadBalancerFailed 55s ibm-cloud-provider Error on cloud load balancer kube-<CLUSTERID>-<SERVICE_UUID> for service <NAMESPACE>/<SERVICE_NAME> with UID <SERVICE_UUID>: Failed ensuring LoadBalancer: FindLoadBalancer failed: FindLoadBalancer failed: An error occurred while performing the 'authenticate' step: 400 Bad Request [{"incidentID":"XXX","code":"XXX","description":"Error message from IAM: '401 Unauthorized. Transaction-Id: XXX Details: {\"errorCode\":\"BXNIM0430E\",\"errorMessage\":\"User login from given IP address is not permitted.\",\"errorDetails\":\"The user has configured IP address restriction for login. The given IP address 'XXXX' is not contained in the list of allowed IP addresses.\",\"context\":...,"type":"Authentication"}]
Warning SyncLoadBalancerFailed 55s service-controller Error syncing load balancer: failed to ensure load balancer: Error on cloud load balancer kube-<CLUSTERID>-<SERVICE_UUID> for service <NAMESPACE>/<SERVICE_NAME> with UID <SERVICE_UUID>:: Failed ensuring LoadBalancer: FindLoadBalancer failed: FindLoadBalancer failed: An error occurred while performing the 'authenticate' step: 400 Bad Request [{"incidentID":"XXX","code":"XXX","description":"Error message from IAM: '401 Unauthorized. Transaction-Id: XXX Details: {\"errorCode\":\"BXNIM0430E\",\"errorMessage\":\"User login from given IP address is not permitted.\",\"errorDetails\":\"The user has configured IP address restriction for login. The given IP address 'XXX' is not contained in the list of allowed IP addresses.\",\"context\":...,"type":"Authentication"}]
이 오류는 IAM 허용 목록이 제어 플레인 IP에 필요한 통신을 허용하지 않을 때 발생합니다.
이 문제를 해결하려면 클러스터가 있는 지역의 제어 플레인 IP를 IAM 허용 목록에 추가하십시오.
지역별 제어 플레인 IP 목록은 IBM/kube-samples 저장소 를 참조하십시오.