我正在尝试将AWS中的集群添加到GCP/Anthos中。我遵循GCP文档(https://cloud.google.com/anthos/clusters/docs/multi-cloud/aws/quickstart),但是GCP中的集群出现了一个错误,其状态是“无法到达代理--请检查GKE代理是否正确部署”。我的Antos已经启动,所有所需的服务都已启用。我不知道缺了什么。你能帮忙吗?当我运行“云容器aws集群创建.”在GCP外壳程序中,我注意到以下错误:
{
"error": {
"code": 401,
"message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
"status": "UNAUTHENTICATED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "CREDENTIALS_MISSING",
"domain": "googleapis.com",
"metadata": {
"service": "gkemulticloud.googleapis.com",
"method": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsCluster"
}
}
]
}
}发布于 2022-01-09 17:28:55
无法到达代理错误是由于没有设置连接网关时,properly.Follow,这个文档,并设置连接网关。
https://cloud.google.com/anthos/multicluster-management/gateway/setup。
尝试通过设置用户连接网关从GKE下的GCP控制台登录。
https://stackoverflow.com/questions/70641589
复制相似问题