-
Notifications
You must be signed in to change notification settings - Fork 10
Kubernetes (GKE) Development HOWTO
Eric Rollins edited this page Jul 17, 2023
·
9 revisions
It's right there in the name - GKE apps are powered by GKE (Google Kubernetes Engine) - but how do we access this system for development, debugging, troubleshooting, etc?
- Login to Terra
- Create Workspace
- Create a ??? within the workspace by running the following command:
curl --location 'https://leonardo.dsde-dev.broadinstitute.org//api/google/v1/apps/terra-dev-9b86b14e/eric-rstudio-0' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <BEARER_TOKEN>' \ --data '{ "diskConfig": { "name": "<NAME_OF_DISK>" }, "appType": "RSTUDIO", "labels": {"all-of-us": "true"} }'
- Navigate to your workspace within Terra, and copy the
Google Project ID
from within theCloud Information
panel of your workspace's dashboard. - Navigate to the Google Cloud Console, and login with an account that has access to the Terra environment that you are working in.
- Click into the project dropdown and paste the
Google Project ID
within the search bar, and then select your project. - Navigate to
Kubernetes Engine
- Click on the Kubernetes cluster that you would like to work with
- Click on the
CONNECT
panel at the top of the page. - Copy the command under
Command-line access