[英]Unable to Deploy Kubernetes Federation on Google Kubernetes Engine
[英]Unable to create Kubernetes cluster on Google Kubernetes Engine
我們無法在Google Cloud項目中創建Kubernetes集群。 幾周前它在工作。 我們不斷收到以下錯誤:
Google Compute Engine: Required 'compute.zones.get' permission for 'projects/<project code>/zones/us-central1-a'
但是,分配給嘗試創建集群的用戶的角色是Project/Owner
,創建集群時選擇的服務帳戶具有Project/Editor
,其中包括compute.zones.get
權限。 即使我將服務帳戶授予Project/Owner
它仍然會給出相同的錯誤。
編輯
嘗試使用gcloud
創建集群時,我們收到另一個(類似)錯誤:
Google Compute Engine: Required 'compute.networks.get' permission for 'projects/<project code>/global/networks/default'
不知道出了什么問題,但是解決方法是禁用所有計算服務,然后重新初始化Kubernetes服務。
您在IAM中缺少cloudservices 服務帳戶 。 該問題的當前解決方法是重新啟用Google Cloud Compute Engine API。
由於明顯的依賴循環,我無法禁用Compute API,但是創建了一個新的GCP項目為我“修復”了這一問題。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.