GCP project is specified:
export X1_GCP_PROJECT_NAME="my-project-name"
GCP region is specified:
export X1_GCP_ZONE="us-central1-b"
To use service account:
export GOOGLE_APPLICATION_CREDENTIALS="$PWD/credentials.json"
./scripts/deploy/gke.sh
~/.config/gcloud
will be mounted inside./scripts/deploy/gke.sh --delete
The following command starts an ephemeral control node in a Docker container and starts a new Bash session:
./scripts/deploy/gke.sh --console
The Kubernetes context is configured in that control node,
so you can use kubectl
, helm
and so on in that Bash session.
The script uses the following environment variables if they are set:
http_proxy
https_proxy
no_proxy
Note that the proxy is only used by the script itself, it is not used in the cluster.
./scripts/deploy/gke.sh --console
# On control node execute
export ICL_INGRESS_DOMAIN={ingress_domain}
# Ray client endpoint is not currently supported on GKE
export ICL_DISABLE_RAY_TEST=1
./scripts/ccn/test.sh