Skip to content

Instantly share code, notes, and snippets.

@yuyasugano
Created October 8, 2020 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuyasugano/b9437d38b1f545ef54d084f4da843afa to your computer and use it in GitHub Desktop.
Save yuyasugano/b9437d38b1f545ef54d084f4da843afa to your computer and use it in GitHub Desktop.
Kubeflow test sample
# Add kfctl to PATH, to make the kfctl binary easier to use.
export PATH=$PATH:"/usr/bin"
# Use the following kfctl configuration file for the standard AWS setup:
export CONFIG_URI="https://raw.githubusercontent.com/kubeflow/manifests/v1.1-branch/kfdef/kfctl_aws.v1.1.0.yaml"
# export CONFIG_URI="https://raw.githubusercontent.com/kubeflow/manifests/v1.1-branch/kfdef/kfctl_aws_cognito.v1.1.0.yaml"
# Set an environment variable for your AWS cluster name, and set the name
# of the Kubeflow deployment to the same as the cluster name.
export AWS_CLUSTER_NAME="kubeflow-sample"
export KF_NAME=${AWS_CLUSTER_NAME}
# Set the path to the base directory where you want to store one or more
# Kubeflow deployments. For example, /opt/.
# Then set the Kubeflow application directory for this deployment.
export BASE_DIR=$(pwd)
export KF_DIR=${BASE_DIR}/${KF_NAME}
export CONFIG_FILE=${KF_DIR}/kfctl_aws.yaml
mkdir -p ${KF_DIR}
# Download your configuration files, so that you can customize the configuration before deploying Kubeflow.
wget -O kfctl_aws.yaml $CONFIG_URI
mv ./kfctl_aws.yaml ${KF_DIR}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment