yuhj
This commit is contained in:
parent
607f4084e6
commit
04cff2eeda
@ -18,27 +18,12 @@ metadata:
|
|||||||
name: cssds-data
|
name: cssds-data
|
||||||
namespace: surf
|
namespace: surf
|
||||||
spec:
|
spec:
|
||||||
storageClassName: zfs-fast
|
storageClassName: fast
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 10Gi
|
storage: 50Gi
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
apiVersion: v1
|
|
||||||
metadata:
|
|
||||||
name: tf2ds-data
|
|
||||||
namespace: surf
|
|
||||||
spec:
|
|
||||||
storageClassName: zfs-fast
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 20Gi
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -64,12 +49,10 @@ spec:
|
|||||||
initContainers:
|
initContainers:
|
||||||
- name: fix-permissions
|
- name: fix-permissions
|
||||||
image: busybox
|
image: busybox
|
||||||
command: ['sh', '-c', 'chown -R 1000:1000 /home/steam/cssds /home/steam/tf2ds']
|
command: ['sh', '-c', 'chown -R 1000:1000 /home/steam/cssds']
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: cssds
|
- name: cssds
|
||||||
mountPath: /home/steam/cssds
|
mountPath: /home/steam/cssds
|
||||||
- name: tf2ds
|
|
||||||
mountPath: /home/steam/tf2ds
|
|
||||||
containers:
|
containers:
|
||||||
- name: megastructure-surf
|
- name: megastructure-surf
|
||||||
image: registry.ntwl.xyz/megastructure-surf
|
image: registry.ntwl.xyz/megastructure-surf
|
||||||
@ -84,15 +67,10 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: cssds
|
- name: cssds
|
||||||
mountPath: /home/steam/cssds
|
mountPath: /home/steam/cssds
|
||||||
- name: tf2ds
|
|
||||||
mountPath: /home/steam/tf2ds
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: cssds
|
- name: cssds
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: cssds-data
|
claimName: cssds-data
|
||||||
- name: tf2ds
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: tf2ds-data
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user