Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2023
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.93 KB | Source Code | 0 0
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4.   name: node-hp-scan-to
  5. spec:
  6.   replicas: 1
  7.   selector:
  8.     matchLabels:
  9.       name: node-hp-scan-to
  10.   template:
  11.     metadata:
  12.       labels:
  13.         name: node-hp-scan-to
  14.     spec:
  15.       containers:
  16.       - image: manuc66/node-hp-scan-to
  17.         imagePullPolicy: IfNotPresent
  18.         name: node-hp-scan-to
  19.         volumeMounts:
  20.          # name must match the volume name below
  21.           - name: nfs
  22.             mountPath: "/scan"
  23.         env:
  24.           - name: IP
  25.             value: "192.168.1.108"
  26.           - name: PUID
  27.             value: "568"
  28.           - name: PGID
  29.             value: "568"
  30.           - name: PATTERN
  31.             value: '"scan"_dd.mm.yyyy_hh:MM:ss'
  32.           - name: TZ
  33.             value: "Europe/Berlin"
  34.       volumes:
  35.       - name: nfs
  36.         nfs:
  37.           server: 192.168.1.20
  38.           path: /mnt/ssd-pool1/nfsk3s
  39.           readOnly: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement