kubernetes - 无法在GCP上部署Kubeflow:告诉我启用已启用的API

标签 kubernetes google-cloud-platform kubeflow

我正在尝试在GCP deployment guide之后在Google Cloud Platform(GCP)和Kubernetes Engine(GKE)上安装Kubeflow。

我创建了一个我作为所有者的GCP项目,启用了结算功能,设置了OAuth凭据并启用了以下API:

  • 计算引擎API
  • Kubernetes引擎API
  • 身份和访问管理(IAM)API
  • Deployment Manager API
  • 云资源管理器API
  • Cloud Filestore API
  • AI平台培训和预测API

  • 但是,当我想要deploy Kubeflow using the UI时,出现以下错误:

    enter image description here

    因此,我仔细检查了这些API是否已启用:

    enter image description here

    enter image description here

    屏幕底部的日志消息为:
    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/

    相关文章:

    python - 在 Kubeflow 管道中共享 secret

    kubernetes - 识别持久卷声明的节点

    node.js - 将 Nuxt JS SSR 应用部署到 Google Cloud App Engine Standard

    google-api - Google Cloud,带有过滤器的compute.instances.aggreatedList失败

    json - 从 bigquery WebUI 将 JSON 加载到 bigquery 表时在模式中定义数组

    kubernetes - 如何在Kubeflow中使用大量数据?

    service - 具有集群 POD 的 Kubernetes 服务处于事件/备用状态

    containers - 在裸机和云中使用空闲虚拟机或机器运行 Kubernetes 的好处?

    python - 如何在2个不同帐户的S3存储桶之间复制特定文件

    kubernetes - 如何使用Codefresh设置和部署Kubeflow