Topic 1 Question 209
You are trying to connect to your Google Kubernetes Engine (GKE) cluster using kubectl from Cloud Shell. You have deployed your GKE cluster with a public endpoint. From Cloud Shell, you run the following command:
You notice that the kubectl commands time out without returning an error message. What is the most likely cause of this issue?
Your user account does not have privileges to interact with the cluster using kubectl.
Your Cloud Shell external IP address is not part of the authorized networks of the cluster.
The Cloud Shell is not part of the same VPC as the GKE cluster.
A VPC firewall is blocking access to the cluster’s endpoint.
ユーザの投票
コメント(4)
- 正解だと思う選択肢: B
B is the answer.
https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters#cloud_shell If you want to use Cloud Shell to access the cluster, you must add the public IP address of your Cloud Shell to the cluster's list of authorized networks.
👍 2zellck2022/12/13 - 👍 1TNT872022/12/27
- 👍 1TNT872022/12/28
シャッフルモード