Skip to content

Instantly share code, notes, and snippets.

@inc0
Created April 17, 2018 20:00
Show Gist options
  • Save inc0/a2dec1bee70a4e990ecaf02efc1072f5 to your computer and use it in GitHub Desktop.
Save inc0/a2dec1bee70a4e990ecaf02efc1072f5 to your computer and use it in GitHub Desktop.
# Deploy kubeflow to namespace "kubeflow"
# TODO(inc0): Create rbac role bindings
---
apiVersion: v1
kind: Namespace
metadata:
name: kubeflow
---
apiVersion: batch/v1
kind: Job
metadata:
name: kubeflow-deploy
namespace: kubeflow
spec:
template:
spec:
containers:
- name: kubeflow-deploy
image: docker.io/inc0/bootstraper:latest
env:
- name: PVC_MOUNT_PATH
value: "null" # If StorageClass is available, edit this value like /home/jovyan/work
- name: NAMESPACE
value: "kubeflow"
- name: DEPLOY_JOB
value: "1"
restartPolicy: Never
backoffLimit: 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment