Hello Node Kubernetes Rezensionen
24405 Rezensionen
ラボURL:https://www.cloudskillsboost.google/focuses/564?locale=ja&parent=catalog Username:student-04-fcb8e09ca283@qwiklabs.net Project ID:qwiklabs-gcp-00-800fc986224f 言語 日本語の本ラボについて、「クラスタを作成する」にてサンプルコマンドのゾーン(us-central1-a)が組織ポリシーによって制限されている事象を発見しました。 ------------------------------------------------------------------------------- student_04_fcb8e09ca283@cloudshell:~ (qwiklabs-gcp-00-800fc986224f)$ gcloud container clusters create hello-world \ --num-nodes 2 \ --machine-type n1-standard-1 \ --zone us-central1-a Default change: VPC-native is the default mode during cluster creation for versions greater than 1.21.0-gke.1500. To create advanced routes based clusters, please pass the `--no-enable-ip-alias` flag Note: The Kubelet readonly port (10255) is now deprecated. Please update your workloads to use the recommended alternatives. See https://cloud.google.com/kubernetes-engine/docs/how-to/disable-kubelet-readonly-port for ways to check usage and for migration instructions. Note: Your Pod address range (`--cluster-ipv4-cidr`) can accommodate at most 1008 node(s). ERROR: (gcloud.container.clusters.create) ResponseError: code=400, message='us-central1-a' violates constraint '`constraints/gcp.resourceLocations`' on the resource 'projects/qwiklabs-gcp-00-800fc986224f/locations/us-central1-a/clusters/hello-world' student_04_fcb8e09ca283@cloudshell:~ (qwiklabs-gcp-00-800fc986224f)$ ------------------------------------------------------------------------------- 組織ポリシーの設定値を参照して、利用可能なゾーンを指定することでクラスタの作成はできましたが、 作成されたゾーンがサンプルコマンドと違うためか、以降の「進捗状況を確認」がOKにならないようです。 こちらについて意図する挙動になっているかご確認お願いします。 ------------------------------------------------------------------------------- student_04_fcb8e09ca283@cloudshell:~ (qwiklabs-gcp-00-800fc986224f)$ gcloud org-policies describe constraints/gcp.resourceLocations --project=qwiklabs-gcp-00-800fc986224f --effective API [orgpolicy.googleapis.com] not enabled on project [qwiklabs-gcp-00-800fc986224f]. Would you like to enable and retry (this will take a few minutes)? (y/N)? y Enabling service [orgpolicy.googleapis.com] on project [qwiklabs-gcp-00-800fc986224f]... Operation "operations/acat.p2-180875828932-e7893e29-69c1-4689-9398-cb43ebb15c2e" finished successfully. name: projects/180875828932/policies/gcp.resourceLocations spec: rules: - values: allowedValues: - aws-ap-southeast-2 - aws-eu-central-1 - us-east1-b - aws-ap-northeast-2 - azure-locations - us-east1-c - us-central - europe - us-east1-a - global - asia - europe-west - EU - US - aws-us-east-1 - azure-westus2 - azure-eastus2 - us - us-east1-d - aws-locations - nam5 - us-east1 - eur3 - us-east1-locations - eu student_04_fcb8e09ca283@cloudshell:~ (qwiklabs-gcp-00-800fc986224f)$ gcloud container clusters create hello-world \ --num-nodes 2 \ --machine-type n1-standard-1 \ --zone us-east1-d Default change: VPC-native is the default mode during cluster creation for versions greater than 1.21.0-gke.1500. To create advanced routes based clusters, please pass the `--no-enable-ip-alias` flag Note: The Kubelet readonly port (10255) is now deprecated. Please update your workloads to use the recommended alternatives. See https://cloud.google.com/kubernetes-engine/docs/how-to/disable-kubelet-readonly-port for ways to check usage and for migration instructions. Note: Your Pod address range (`--cluster-ipv4-cidr`) can accommodate at most 1008 node(s). Creating cluster hello-world in us-east1-d... Cluster is being health-checked (master is healthy)...done. Created [https://container.googleapis.com/v1/projects/qwiklabs-gcp-00-800fc986224f/zones/us-east1-d/clusters/hello-world]. To inspect the contents of your cluster, go to: https://console.cloud.google.com/kubernetes/workload_/gcloud/us-east1-d/hello-world?project=qwiklabs-gcp-00-800fc986224f kubeconfig entry generated for hello-world. NAME: hello-world LOCATION: us-east1-d MASTER_VERSION: 1.29.4-gke.1043002 MASTER_IP: 35.196.16.85 MACHINE_TYPE: n1-standard-1 NODE_VERSION: 1.29.4-gke.1043002 NUM_NODES: 2 STATUS: RUNNING student_04_fcb8e09ca283@cloudshell:~ (qwiklabs-gcp-00-800fc986224f)$ -------------------------------------------------------------------------------
humanist c. · Vor mehr als ein Jahr überprüft
can't create cluster in specified zone. `ERROR: (gcloud.container.clusters.create) ResponseError: code=400, message='us-central1-a' violates constraint '`constraints/gcp.resourceLocations`' on the resource 'projects/qwiklabs-gcp-04-2f8d17a803d0/locations/us-central1-a/clusters/hello-world'`
risou -. · Vor mehr als ein Jahr überprüft
Madhu Dileep D. · Vor mehr als ein Jahr überprüft
Rahul M. · Vor mehr als ein Jahr überprüft
robert n. · Vor mehr als ein Jahr überprüft
Volodymyr K. · Vor mehr als ein Jahr überprüft
Luciano F. · Vor mehr als ein Jahr überprüft
Muhammad Haikal F. · Vor mehr als ein Jahr überprüft
constraints/gcp.resourceLocationsの制限でus-central1にクラスタの作成ができませんでした。
Naoya Y. · Vor mehr als ein Jahr überprüft
MD S. · Vor mehr als ein Jahr überprüft
Gurinder S. · Vor mehr als ein Jahr überprüft
Aaron N. · Vor mehr als ein Jahr überprüft
Salman S. · Vor mehr als ein Jahr überprüft
Wai Yan L. · Vor mehr als ein Jahr überprüft
Norihiro S. · Vor mehr als ein Jahr überprüft
Afif Q. · Vor mehr als ein Jahr überprüft
Alex L. · Vor mehr als ein Jahr überprüft
Lord T. · Vor mehr als ein Jahr überprüft
Sultan B. · Vor mehr als ein Jahr überprüft
Ammar W. · Vor mehr als ein Jahr überprüft
Muhammad H. · Vor mehr als ein Jahr überprüft
Dang V. · Vor mehr als ein Jahr überprüft
Thaw Z. · Vor mehr als ein Jahr überprüft
Karthik R. · Vor mehr als ein Jahr überprüft
Amar Nath C. · Vor mehr als ein Jahr überprüft
Wir können nicht garantieren, dass die veröffentlichten Rezensionen von Verbrauchern stammen, die die Produkte gekauft oder genutzt haben. Die Rezensionen werden von Google nicht überprüft.