Mercurial > code > home > repos > photoprism
comparison update_job.yaml @ 6:4bf137b25259
reformat
author | drewp@bigasterisk.com |
---|---|
date | Sun, 19 Mar 2023 17:18:17 -0700 |
parents | a248c94091e7 |
children | 07aa4c3cddc4 |
comparison
equal
deleted
inserted
replaced
5:01128677024d | 6:4bf137b25259 |
---|---|
13 spec: | 13 spec: |
14 serviceAccountName: photoprism | 14 serviceAccountName: photoprism |
15 volumes: | 15 volumes: |
16 - { name: my, persistentVolumeClaim: { claimName: my } } | 16 - { name: my, persistentVolumeClaim: { claimName: my } } |
17 containers: | 17 containers: |
18 - name: update | 18 - name: update |
19 image: bang5:5000/photoprism_update | 19 image: bang5:5000/photoprism_update |
20 volumeMounts: | 20 volumeMounts: |
21 #- { name: my, mountPath: /my/pic, subPath: pic } | 21 #- { name: my, mountPath: /my/pic, subPath: pic } |
22 #- { name: my, mountPath: /my/pda/note10, subPath: pda/note10 } | 22 #- { name: my, mountPath: /my/pda/note10, subPath: pda/note10 } |
23 - { name: my, mountPath: /my } | 23 - { name: my, mountPath: /my } |
24 | 24 |
25 affinity: | 25 affinity: |
26 nodeAffinity: | 26 nodeAffinity: |
27 requiredDuringSchedulingIgnoredDuringExecution: | 27 requiredDuringSchedulingIgnoredDuringExecution: |
28 nodeSelectorTerms: | 28 nodeSelectorTerms: |
29 - matchExpressions: | 29 - matchExpressions: |
30 - key: "kubernetes.io/hostname" | 30 - key: "kubernetes.io/hostname" |
31 operator: In | 31 operator: In |
32 values: ["ditto"] # anything with nfs, but bang is fastest right now | 32 values: ["ditto"] # anything with nfs, but bang is fastest right now |
33 restartPolicy: Never | 33 restartPolicy: Never |
34 backoffLimit: 1 | 34 backoffLimit: 1 |