Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 473 Bytes

gcp-access.md

File metadata and controls

10 lines (6 loc) · 473 Bytes

GCP Access

Below is information on accessing GCP instances and GKE remotely.

IAP

kubectl

To connect to a GKE cluster with kubectl run gcloud container clusters get-credentials <cluster-name> --region us-central1 --project <project-id>. Replace cluster-name and project-id.

If you are not authenticated to gcp run gcloud init to set your GCP project and login. If you are logged in and just need to change project rungcloud config set projec <project-id>