macos
brew install ksonnet/tap/ks
linux
wget https://github.com/ksonnet/ksonnet/releases/download/v0.8.0/ks-linux-amd64
ks init my-kubeflow
cd my-kubeflow
ks registry add kubeflow github.com/google/kubeflow/tree/master/kubeflow
ks pkg install kubeflow/core
ks pkg install kubeflow/tf-serving
ks pkg install kubeflow/tf-job
ks generate core kubeflow-core --name=kubeflow-core
minikube
kubectl config use-context minikube
ks env add minikube
ks apply minikube -c kubeflow-core
gke
kubectl config use-context gke
ks env add gke
ks apply gke -c kubeflow-core
access
kubectl port-forward tf-hub-0 8100:8000
ks generate tf-cnn cnn --name=cnn ks apply minikube -c cnn
ks prototype list tf-job ks param set --env=gke cnn num_gpus 1 ks param set --env=gke cnn num_workers 1 ks apply gke -c cnn