Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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