| kind: Pod | |
| apiVersion: v1 | |
| metadata: | |
| name: detect-faces | |
| spec: | |
| containers: | |
| - name: detect-faces | |
| image: face-detector:latest | |
| imagePullPolicy: Never | |
| volumeMounts: | |
| - name: code | |
| mountPath: /src/go/src/github.com/giolekva/pcloud/face | |
| command: ["python", "main.py"] | |
| args: ["http://pcloud-controller-service.pcloud.svc:1111/graphql", "http://minio-hl-svc.minio.svc:9000", "0x2"] | |
| volumes: | |
| - name: code | |
| hostPath: | |
| path: "/Users/lekva/dev/go/src/github.com/giolekva/pcloud/face" | |
| restartPolicy: Never |