apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: jupyter-web-app
  name: jupyter-web-app
  namespace: kubeflow
spec:
  replicas: 1
  selector:
    matchLabels:
      app: jupyter-web-app
  template:
    metadata:
      labels:
        app: jupyter-web-app
    spec:
      containers:
      - image: gcr.io/kubeflow-images-public/jupyter-web-app:v20190215-v0.4.0-rc.1-138-g1f61e52d
        imagePullPolicy: IfNotPresent
        name: jupyter-web-app
        ports:
        - containerPort: 5000
        volumeMounts:
        - mountPath: /etc/config
          name: config-volume
        workingDir: /app/default
      serviceAccountName: jupyter-web-app
      volumes:
      - configMap:
          name: jupyter-web-app-config
        name: config-volume
