Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
You're attempting to deploy a container to Kubernetes, but kubectl fails to connect to the cluster. What is the most probable reason for this issue and how can it be resolved?
A
The kubeconfig lacks the necessary credentials. Execute the gcloud container clusters auth login command.
gcloud container clusters auth login
B
Firewall rules are blocking the connection. Modify the firewall rules to permit traffic on port 3682.
C
The kubeconfig is missing credentials. Use the gcloud container clusters get-credentials command.
gcloud container clusters get-credentials
D
Firewall rules are obstructing the connection. Adjust the firewall rules to allow traffic on port 1337.