apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: notebook-controller
    app.kubernetes.io/component: notebook-controller
    app.kubernetes.io/instance: notebook-controller-v1.0.0
    app.kubernetes.io/managed-by: kfctl
    app.kubernetes.io/name: notebook-controller
    app.kubernetes.io/part-of: kubeflow
    app.kubernetes.io/version: v1.0.0
    kustomize.component: notebook-controller
  name: notebook-controller-deployment
  namespace: kubeflow
spec:
  selector:
    matchLabels:
      app: notebook-controller
      app.kubernetes.io/component: notebook-controller
      app.kubernetes.io/instance: notebook-controller-v1.0.0
      app.kubernetes.io/managed-by: kfctl
      app.kubernetes.io/name: notebook-controller
      app.kubernetes.io/part-of: kubeflow
      app.kubernetes.io/version: v1.0.0
      kustomize.component: notebook-controller
  template:
    metadata:
      annotations:
        sidecar.istio.io/inject: "false"
      labels:
        app: notebook-controller
        app.kubernetes.io/component: notebook-controller
        app.kubernetes.io/instance: notebook-controller-v1.0.0
        app.kubernetes.io/managed-by: kfctl
        app.kubernetes.io/name: notebook-controller
        app.kubernetes.io/part-of: kubeflow
        app.kubernetes.io/version: v1.0.0
        kustomize.component: notebook-controller
    spec:
      containers:
      - command:
        - /manager
        env:
        - name: USE_ISTIO
          value: "false"
        - name: ISTIO_GATEWAY
          value: kubeflow/kubeflow-gateway
        image: gcr.io/kubeflow-images.csv-public/notebook-controller:vmaster-g6eb007d0
        imagePullPolicy: Always
        livenessProbe:
          httpGet:
            path: /metrics
            port: 8080
          initialDelaySeconds: 30
          periodSeconds: 30
        name: manager
      serviceAccountName: notebook-controller-service-account
