helm access to a hub¶
Each of the hubs in the 2i2c Pilot runs on Google Cloud Platform and Kubernetes.
To access the Kubernetes objects (in order to inspect them or make changes), use
kubectl command line tool.
First, you’ll need to access the Google Cloud projects on which the hubs run. You
can find the current list of active projects by examining the
values in the files under
Commandline tools installation¶
You can do all this via Google Cloud Shell, but might be easier to do this on your local machine. You’ll need the following tools installed:
Fetch Cluster credentials¶
For each cluster, you’ll need to fetch credentials at least once with gcloud container clusters get-credentials.
gcloud container clusters get-credentials <cluster-name> --region <region> --project <project-name>
You can get authoritative information for
helm should now work!
(Optional) Access via Google Cloud Shell¶
Instead of setting up the tools & authenticating locally, you can do all this via
Google Cloud Shell. It has all the tools installed,
and the authentication done. Instead of doing
gcloud container clusters get-credentials
yourself, you can instead:
Go to the Google Cloud Kubernetes Engine page (for the appropriate project)
Connect, as seen in the figure below.
This will spin up an interactive cloud shell where you have