blob: 0421e43191bcc7f87c4ccc226dd672bc837aa7df [file] [log] [blame]
giolekvafb52e0d2020-04-23 22:52:13 +04001kind: Pod
2apiVersion: v1
3metadata:
4 name: detect-faces
5spec:
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