Mercurial > code > home > repos > photoprism
diff update_job.yaml @ 6:4bf137b25259
reformat
author | drewp@bigasterisk.com |
---|---|
date | Sun, 19 Mar 2023 17:18:17 -0700 |
parents | a248c94091e7 |
children | 07aa4c3cddc4 |
line wrap: on
line diff
--- a/update_job.yaml Sun Mar 19 17:14:41 2023 -0700 +++ b/update_job.yaml Sun Mar 19 17:18:17 2023 -0700 @@ -15,13 +15,13 @@ volumes: - { name: my, persistentVolumeClaim: { claimName: my } } containers: - - name: update - image: bang5:5000/photoprism_update - volumeMounts: - #- { name: my, mountPath: /my/pic, subPath: pic } - #- { name: my, mountPath: /my/pda/note10, subPath: pda/note10 } - - { name: my, mountPath: /my } - + - name: update + image: bang5:5000/photoprism_update + volumeMounts: + #- { name: my, mountPath: /my/pic, subPath: pic } + #- { name: my, mountPath: /my/pda/note10, subPath: pda/note10 } + - { name: my, mountPath: /my } + affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -29,6 +29,6 @@ - matchExpressions: - key: "kubernetes.io/hostname" operator: In - values: ["ditto"] # anything with nfs, but bang is fastest right now + values: ["ditto"] # anything with nfs, but bang is fastest right now restartPolicy: Never backoffLimit: 1