From 5617f7869270f22bdc598478e35d84b2d7a65788 Mon Sep 17 00:00:00 2001 From: Sergii Tkachenko Date: Mon, 27 Sep 2021 19:46:59 -0400 Subject: [PATCH] xds-k8s: address feedback on first-time setup (#27488) --- tools/run_tests/xds_k8s_test_driver/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/run_tests/xds_k8s_test_driver/README.md b/tools/run_tests/xds_k8s_test_driver/README.md index a2bec372e62..f64ea376ebb 100644 --- a/tools/run_tests/xds_k8s_test_driver/README.md +++ b/tools/run_tests/xds_k8s_test_driver/README.md @@ -26,7 +26,9 @@ changes to this codebase at the moment. #### Requirements 1. Python v3.6+ 2. [Google Cloud SDK](https://cloud.google.com/sdk/docs/install) -3. Configured GKE cluster +3. `kubectl` + +`kubectl` can be installed via `gcloud components install kubectl`, or system package manager: https://kubernetes.io/docs/tasks/tools/#kubectl #### Configure GKE cluster This is an example outlining minimal requirements to run `tests.baseline_test`. @@ -147,6 +149,9 @@ END ##### Configure GKE cluster access ```shell +# Unless you're using GCP VM with preconfigured Application Default Credentials, acquire them for your user +gcloud auth application-default login + # Configuring GKE cluster access for kubectl gcloud container clusters get-credentials "your_gke_cluster_name" --zone "your_gke_cluster_zone"