| giolekva | 9614591 | 2020-05-16 13:52:46 +0400 | [diff] [blame^] | 1 | actions: |
| 2 | - name: detect-faces | ||||
| giolekva | d47d7f9 | 2020-05-16 12:10:38 +0400 | [diff] [blame] | 3 | template: | |
| 4 | kind: Pod | ||||
| 5 | apiVersion: v1 | ||||
| 6 | metadata: | ||||
| 7 | name: detect-faces-{{ .Id }} | ||||
| 8 | spec: | ||||
| 9 | containers: | ||||
| 10 | - name: detect-faces | ||||
| 11 | image: giolekva/face-detector:latest | ||||
| 12 | imagePullPolicy: Always | ||||
| 13 | command: ["python3", "main.py"] | ||||
| 14 | args: [{{ .PCloudApiAddr }}, {{ .ObjectStoreAddr }}, {{ .Id }}] | ||||
| 15 | restartPolicy: Never | ||||