Created
April 1, 2020 20:41
-
-
Save jtfogarty/d5745a773f41ba3e747fc93bf98f9f6d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kfctl version | |
gcloud config list | |
gcloud config set compute/zone us-central1-a | |
gcloud config list | |
PROJECT_ID=$(gcloud config list project --format='value(core.project)') | |
echo "" | |
read -p "Enter the name of this cluster: " KF_NAME | |
echo "$KF_NAME!" | |
export CONFIG_URI="https://raw.githubusercontent.com/kubeflow/manifests/v1.0-branch/kfdef/kfctl_gcp_iap.v1.0.1.yaml" | |
export CLIENT_ID= | |
export CLIENT_SECRET= | |
export BASE_DIR=/home/j_007ba7 | |
export KF_DIR=${BASE_DIR}/${KF_NAME} | |
mkdir -p ${KF_DIR} | |
cd ${KF_DIR} | |
kfctl apply -V -f ${CONFIG_URI} | |
gcloud config list | |
echo "https://${KF_NAME}.endpoints.${PROJECT_ID}.cloud.goog/" | |
echo "kfctl delete -f https://raw.githubusercontent.com/kubeflow/manifests/v1.0-branch/kfdef/kfctl_gcp_iap.v1.0.1.yaml --delete_storage" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment