我正在尝试在GCP deployment guide之后在Google Cloud Platform(GCP)和Kubernetes Engine(GKE)上安装Kubeflow。
我创建了一个我作为所有者的GCP项目,启用了结算功能,设置了OAuth凭据并启用了以下API:
但是,当我想要deploy Kubeflow using the UI时,出现以下错误:
因此,我仔细检查了这些API是否已启用:
屏幕底部的日志消息为:
2020-03-0614:14:04.629: Getting enabled services for project <projectname>..
2020-03-0614:14:16.909: Could not configure communication with GCP, exiting
当
Could not configure communication with GCP, exiting
失败时触发 _enableGcpServices()
。将打印
Getting enabled services for project ...
行,而不打印 Proceeding with project number: ...
行,因此必须在the block of code between those lines中的某处触发该错误。对
Gapi.cloudresourcemanager.getProjectNumber(project)
的调用具有其自己的try / catch,其错误消息和标题略有不同(仅谈论云资源管理器API,而不是IAM API),因此我认为对 Gapi.getSignedInEmail()
的调用失败了?
最佳答案
我建议您看一下服务管理API,IAM服务凭证API和云身份识别代理API。我以前仅使用过CLI安装工具,并未遇到这些问题,但是您可能需要这些服务来进行IAP部署吗?
关于kubernetes - 无法在GCP上部署Kubeflow:告诉我启用已启用的API,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61057213/