Назад | Перейти на главную страницу

Не удалось создать кластер кубернетов в Google Cloud

Выполните следующую команду, чтобы создать кластер на Google Kubernetes Engine. Затем я получил ошибку ниже.

Панель состояния Google Cloud зеленый для GKE с 10:00 22 июля 2020 г. (летнее время по восточному времени).

Кто-нибудь знает, что происходит?

gcloud container clusters create demo \
  --cluster-version latest \
  --machine-type=n1-standard-2 \
  --num-nodes 4 \
  --zone us-east1-b
ERROR: (gcloud.container.clusters.create) Operation [<Operation
 clusterConditions: [<StatusCondition
 message: "[CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-4fv2' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-4fv2 to the constraint to use external IP with it.">, <StatusCondition
 message: "[CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-4gr4' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-4gr4 to the constraint to use external IP with it.">, <StatusCondition
 message: "[CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-f1fx' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-f1fx to the constraint to use external IP with it.">, <StatusCondition
 message: "[CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-g4br' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-g4br to the constraint to use external IP with it.">, <StatusCondition
 message: "Not all instances running in IGM after 27.672242329s. Expect 4. Current errors: [CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-4fv2' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-4fv2 to the constraint to use external IP with it.; [CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-4gr4' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-4gr4 to the constraint to use external IP with it.; [CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-f1fx' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-f1fx to the constraint to use external IP with it.; [CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-g4br' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-g4br to the constraint to use external IP with it.">]
 detail: "Not all instances running in IGM after 27.672242329s. Expect 4. Current errors: [CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-4fv2' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-4fv2 to the constraint to use external IP with it.; [CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-4gr4' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-4gr4 to the constraint to use external IP with it.; [CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-f1fx' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-f1fx to the constraint to use external IP with it.; [CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-g4br' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-g4br to the constraint to use external IP with it."
 endTime: '2020-07-22T13:50:22.491208073Z'
 name: 'operation-1595425781652-ad5953b3'
 nodepoolConditions: []
 operationType: OperationTypeValueValuesEnum(CREATE_CLUSTER, 1)
 progress: <OperationProgress
 metrics: [<Metric
 intValue: 6
 name: 'CLUSTER_DEPLOYING'>, <Metric
 intValue: 6
 name: 'CLUSTER_DEPLOYING_TOTAL'>]
 stages: []>
 selfLink: 'https://container.googleapis.com/v1/projects/230730309217/zones/us-east1-b/operations/operation-1595425781652-ad5953b3'
 startTime: '2020-07-22T13:49:41.652224299Z'
 status: StatusValueValuesEnum(DONE, 3)
 statusMessage: "Not all instances running in IGM after 27.672242329s. Expect 4. Current errors: [CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-4fv2' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-4fv2 to the constraint to use external IP with it.; [CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-4gr4' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-4gr4 to the constraint to use external IP with it.; [CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-f1fx' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-f1fx to the constraint to use external IP with it.; [CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-g4br' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-g4br to the constraint to use external IP with it."
 targetLink: 'https://container.googleapis.com/v1/projects/230730309217/zones/us-east1-b/clusters/demo'
 zone: 'us-east1-b'>] finished with error: Not all instances running in IGM after 27.672242329s. Expect 4. Current errors: [CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-4fv2' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-4fv2 to the constraint to use external IP with it.; [CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-4gr4' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-4gr4 to the constraint to use external IP with it.; [CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-f1fx' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-f1fx to the constraint to use external IP with it.; [CONDITION_NOT_MET]: Instance 'gke-demo-default-pool-a53ea683-g4br' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project 230730309217. Add instance projects/hipster-shop-277101/zones/us-east1-b/instances/gke-demo-default-pool-a53ea683-g4br to the constraint to use external IP with it.

Я могу без проблем создать кластер с помощью этой команды.

Ваша проблема вызвана вашим ограничение политики организации применил к этому проекту.

ограничения / compute.vmExternalIpAccess

Вам нужно будет связаться с администраторами вашей организации, чтобы предоставить вам соответствующие разрешения.

На главную> IAM и администрирование> Идентификация и организация> Определите соответствующие разрешения.