diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-09-19 15:51:28 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-10-27 13:17:59 +0200 |
commit | f81d47f04a7d539e3a2874b54111d50d5ed06ce1 (patch) | |
tree | f14e67e53e414424bf663d36938cc3cd1282d1b1 | |
parent | 1bece9566cc20cd30e04493ab371abb963e3a0b2 (diff) |
Run garage with hostPath volumes
-rw-r--r-- | data.d/k3s-master/manifests.d/tyilnet/base-system/garage/deployment.yaml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/data.d/k3s-master/manifests.d/tyilnet/base-system/garage/deployment.yaml b/data.d/k3s-master/manifests.d/tyilnet/base-system/garage/deployment.yaml index cc89211..68b920f 100644 --- a/data.d/k3s-master/manifests.d/tyilnet/base-system/garage/deployment.yaml +++ b/data.d/k3s-master/manifests.d/tyilnet/base-system/garage/deployment.yaml @@ -27,6 +27,7 @@ spec: app.kubernetes.io/name: garage app.kubernetes.io/part-of: base-system spec: + nodeName: mieshu.tyil.net containers: - image: dxflrs/garage:v0.8.0 name: garage @@ -42,19 +43,18 @@ spec: - mountPath: /var/lib/garage/data name: data - mountPath: /etc/garage.toml - subPath: config.toml name: config restartPolicy: Always volumes: - name: data - persistentVolumeClaim: - claimName: garage-data + hostPath: + path: /mnt/pool/garage/data - name: meta - persistentVolumeClaim: - claimName: garage-meta + hostPath: + path: /mnt/pool/garage/meta - name: config - secret: - secretName: garage + hostPath: + path: /etc/garage.toml affinity: podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: |