/kubeflow-demo

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

kubeflow-demo

px-deploy create -n px1 -t px

curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
ln /root/kustomize /usr/sbin/kustomize
yum install wget -y
kubectl apply -f kubeflow-sc.yaml
kubectl patch storageclass kubeflow-sc -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
git clone https://github.com/kubeflow/manifests.git
cd manifests
Single command install:
while ! kustomize build example | kubectl apply -f -; do echo "Retrying to apply resources"; sleep 10; done

ARCHIVE-ONLY yum install wget -y
kubectl patch storageclass kubeflow-storage -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'

CPU-only
curl -sfL https://get.k3ai.in | bash -s -- --cpu --plugin_kfpipelines
GPU support

env/platform-agnostic-pns hasn't been publically released, so you will install it from master

export PIPELINE_VERSION=2.0.0
kubectl apply -k "github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref=2.0.0"
kubectl wait --for condition=established --timeout=60s crd/applications.app.k8s.io
kubectl apply -k "github.com/kubeflow/pipelines/manifests/kustomize/env/platform-agnostic-pns?ref=2.0.0"

load generator
python3 -m pip install https://storage.googleapis.com/ml-pipeline/release/0.1.10/kfp.tar.gz --upgrade