|
| 1 | +apiVersion: apps/v1 |
| 2 | +kind: Deployment |
| 3 | +metadata: |
| 4 | + name: ds-pipeline-testdsp5 |
| 5 | + namespace: default |
| 6 | + labels: |
| 7 | + app: ds-pipeline-testdsp5 |
| 8 | + component: data-science-pipelines |
| 9 | +spec: |
| 10 | + selector: |
| 11 | + matchLabels: |
| 12 | + app: ds-pipeline-testdsp5 |
| 13 | + component: data-science-pipelines |
| 14 | + template: |
| 15 | + metadata: |
| 16 | + labels: |
| 17 | + app: ds-pipeline-testdsp5 |
| 18 | + component: data-science-pipelines |
| 19 | + spec: |
| 20 | + containers: |
| 21 | + - env: |
| 22 | + - name: POD_NAMESPACE |
| 23 | + value: "default" |
| 24 | + - name: DBCONFIG_USER |
| 25 | + value: "mlpipeline" |
| 26 | + - name: DBCONFIG_PASSWORD |
| 27 | + valueFrom: |
| 28 | + secretKeyRef: |
| 29 | + key: "password" |
| 30 | + name: "ds-pipeline-db-testdsp5" |
| 31 | + - name: DBCONFIG_DBNAME |
| 32 | + value: "mlpipeline" |
| 33 | + - name: DBCONFIG_HOST |
| 34 | + value: "mariadb-testdsp5.default.svc.cluster.local" |
| 35 | + - name: DBCONFIG_PORT |
| 36 | + value: "3306" |
| 37 | + - name: ARTIFACT_BUCKET |
| 38 | + value: "mlpipeline" |
| 39 | + - name: ARTIFACT_ENDPOINT |
| 40 | + value: "http://minio-testdsp5.default.svc.cluster.local:9000" |
| 41 | + - name: ARTIFACT_SCRIPT |
| 42 | + valueFrom: |
| 43 | + configMapKeyRef: |
| 44 | + key: "artifact_script" |
| 45 | + name: "ds-pipeline-artifact-script-testdsp5" |
| 46 | + - name: ARTIFACT_IMAGE |
| 47 | + value: "artifact-manager:test5" |
| 48 | + - name: ARCHIVE_LOGS |
| 49 | + value: "false" |
| 50 | + - name: TRACK_ARTIFACTS |
| 51 | + value: "true" |
| 52 | + - name: STRIP_EOF |
| 53 | + value: "true" |
| 54 | + - name: PIPELINE_RUNTIME |
| 55 | + value: "tekton" |
| 56 | + - name: DEFAULTPIPELINERUNNERSERVICEACCOUNT |
| 57 | + value: "pipeline-runner-testdsp5" |
| 58 | + - name: INJECT_DEFAULT_SCRIPT |
| 59 | + value: "true" |
| 60 | + - name: APPLY_TEKTON_CUSTOM_RESOURCE |
| 61 | + value: "true" |
| 62 | + - name: TERMINATE_STATUS |
| 63 | + value: "Cancelled" |
| 64 | + - name: AUTO_UPDATE_PIPELINE_DEFAULT_VERSION |
| 65 | + value: "true" |
| 66 | + - name: DBCONFIG_CONMAXLIFETIMESEC |
| 67 | + value: "120" |
| 68 | + - name: ML_PIPELINE_VISUALIZATIONSERVER_SERVICE_HOST |
| 69 | + value: "ds-pipeline-visualizationserver" |
| 70 | + - name: ML_PIPELINE_VISUALIZATIONSERVER_SERVICE_PORT |
| 71 | + value: "8888" |
| 72 | + - name: OBJECTSTORECONFIG_BUCKETNAME |
| 73 | + value: "mlpipeline" |
| 74 | + - name: OBJECTSTORECONFIG_ACCESSKEY |
| 75 | + valueFrom: |
| 76 | + secretKeyRef: |
| 77 | + key: "accesskey" |
| 78 | + name: "mlpipeline-minio-artifact" |
| 79 | + - name: OBJECTSTORECONFIG_SECRETACCESSKEY |
| 80 | + valueFrom: |
| 81 | + secretKeyRef: |
| 82 | + key: "secretkey" |
| 83 | + name: "mlpipeline-minio-artifact" |
| 84 | + - name: OBJECTSTORECONFIG_SECURE |
| 85 | + value: "false" |
| 86 | + - name: MINIO_SERVICE_SERVICE_HOST |
| 87 | + value: "minio-testdsp5.default.svc.cluster.local" |
| 88 | + - name: MINIO_SERVICE_SERVICE_PORT |
| 89 | + value: "9000" |
| 90 | + - name: CACHE_IMAGE |
| 91 | + value: "ubi-minimal:test5" |
| 92 | + - name: MOVERESULTS_IMAGE |
| 93 | + value: "busybox:test5" |
| 94 | + image: api-server:test5 |
| 95 | + imagePullPolicy: Always |
| 96 | + name: ds-pipeline-api-server |
| 97 | + ports: |
| 98 | + - containerPort: 8888 |
| 99 | + name: http |
| 100 | + protocol: TCP |
| 101 | + - containerPort: 8887 |
| 102 | + name: grpc |
| 103 | + protocol: TCP |
| 104 | + livenessProbe: |
| 105 | + exec: |
| 106 | + command: |
| 107 | + - wget |
| 108 | + - -q |
| 109 | + - -S |
| 110 | + - -O |
| 111 | + - '-' |
| 112 | + - http://localhost:8888/apis/v1beta1/healthz |
| 113 | + initialDelaySeconds: 3 |
| 114 | + periodSeconds: 5 |
| 115 | + timeoutSeconds: 2 |
| 116 | + readinessProbe: |
| 117 | + exec: |
| 118 | + command: |
| 119 | + - wget |
| 120 | + - -q |
| 121 | + - -S |
| 122 | + - -O |
| 123 | + - '-' |
| 124 | + - http://localhost:8888/apis/v1beta1/healthz |
| 125 | + initialDelaySeconds: 3 |
| 126 | + periodSeconds: 5 |
| 127 | + timeoutSeconds: 2 |
| 128 | + resources: |
| 129 | + requests: |
| 130 | + cpu: 250m |
| 131 | + memory: 500Mi |
| 132 | + limits: |
| 133 | + cpu: 500m |
| 134 | + memory: 1Gi |
| 135 | + volumeMounts: |
| 136 | + - mountPath: /config/sample_config.json |
| 137 | + name: sample-config |
| 138 | + subPath: sample_config.json |
| 139 | + - mountPath: /samples/ |
| 140 | + name: sample-pipeline |
| 141 | + - name: oauth-proxy |
| 142 | + args: |
| 143 | + - --https-address=:8443 |
| 144 | + - --provider=openshift |
| 145 | + - --openshift-service-account=ds-pipeline-testdsp5 |
| 146 | + - --upstream=http://localhost:8888 |
| 147 | + - --tls-cert=/etc/tls/private/tls.crt |
| 148 | + - --tls-key=/etc/tls/private/tls.key |
| 149 | + - --cookie-secret=SECRET |
| 150 | + - '--openshift-delegate-urls={"/": {"group":"route.openshift.io","resource":"routes","verb":"get","name":"ds-pipeline-testdsp5","namespace":"default"}}' |
| 151 | + - '--openshift-sar={"namespace":"default","resource":"routes","resourceName":"ds-pipeline-testdsp5","verb":"get","resourceAPIGroup":"route.openshift.io"}' |
| 152 | + - --skip-auth-regex='(^/metrics|^/apis/v1beta1/healthz)' |
| 153 | + image: oauth-proxy:test5 |
| 154 | + ports: |
| 155 | + - containerPort: 8443 |
| 156 | + name: oauth |
| 157 | + protocol: TCP |
| 158 | + livenessProbe: |
| 159 | + httpGet: |
| 160 | + path: /oauth/healthz |
| 161 | + port: oauth |
| 162 | + scheme: HTTPS |
| 163 | + initialDelaySeconds: 30 |
| 164 | + timeoutSeconds: 1 |
| 165 | + periodSeconds: 5 |
| 166 | + successThreshold: 1 |
| 167 | + failureThreshold: 3 |
| 168 | + readinessProbe: |
| 169 | + httpGet: |
| 170 | + path: /oauth/healthz |
| 171 | + port: oauth |
| 172 | + scheme: HTTPS |
| 173 | + initialDelaySeconds: 5 |
| 174 | + timeoutSeconds: 1 |
| 175 | + periodSeconds: 5 |
| 176 | + successThreshold: 1 |
| 177 | + failureThreshold: 3 |
| 178 | + resources: |
| 179 | + limits: |
| 180 | + cpu: 100m |
| 181 | + memory: 256Mi |
| 182 | + requests: |
| 183 | + cpu: 100m |
| 184 | + memory: 256Mi |
| 185 | + volumeMounts: |
| 186 | + - mountPath: /etc/tls/private |
| 187 | + name: proxy-tls |
| 188 | + volumes: |
| 189 | + - name: proxy-tls |
| 190 | + secret: |
| 191 | + secretName: ds-pipelines-proxy-tls-testdsp5 |
| 192 | + defaultMode: 420 |
| 193 | + - configMap: |
| 194 | + defaultMode: 420 |
| 195 | + name: sample-config-testdsp5 |
| 196 | + name: sample-config |
| 197 | + - configMap: |
| 198 | + defaultMode: 420 |
| 199 | + name: sample-pipeline-testdsp5 |
| 200 | + name: sample-pipeline |
| 201 | + |
| 202 | + serviceAccountName: ds-pipeline-testdsp5 |
0 commit comments