Use ssd instead of nfs server

This commit is contained in:
kiloreux 2018-04-25 15:00:23 +01:00
parent 28948800ec
commit c2db0f9af5
No known key found for this signature in database
GPG Key ID: 8B81EA3FA91EB758
1 changed files with 5 additions and 9 deletions

View File

@ -1,12 +1,12 @@
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: nfs-tusd
name: ssd-tusd
namespace: tus
spec:
accessModes:
- ReadWriteMany
storageClassName: ""
- ReadWriteOnce
storageClassName: "ssd"
resources:
requests:
storage: 20Gi
@ -18,12 +18,8 @@ metadata:
namespace: tus
spec:
replicas: 1
minReadySeconds: 10
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 2
maxUnavailable: 0
type: Recreate
template:
metadata:
labels:
@ -51,7 +47,7 @@ spec:
volumes:
- name: tusd-disk
persistentVolumeClaim:
claimName: nfs-tusd
claimName: ssd-tusd
---
apiVersion: v1
kind: Service