| giolekva | fb52e0d | 2020-04-23 22:52:13 +0400 | [diff] [blame^] | 1 | kind: Pod |
| 2 | apiVersion: v1 |
| 3 | metadata: |
| 4 | name: detect-faces |
| 5 | spec: |
| 6 | containers: |
| 7 | - name: detect-faces |
| 8 | image: face-detector:latest |
| 9 | imagePullPolicy: Never |
| 10 | volumeMounts: |
| 11 | - name: code |
| 12 | mountPath: /src/go/src/github.com/giolekva/pcloud/face |
| 13 | command: ["python", "main.py"] |
| 14 | args: ["http://pcloud-controller-service.pcloud.svc:1111/graphql", "http://minio-hl-svc.minio.svc:9000", "0x2"] |
| 15 | volumes: |
| 16 | - name: code |
| 17 | hostPath: |
| 18 | path: "/Users/lekva/dev/go/src/github.com/giolekva/pcloud/face" |
| 19 | restartPolicy: Never |