Use ssd instead of nfs server
This commit is contained in:
parent
28948800ec
commit
c2db0f9af5
|
@ -1,12 +1,12 @@
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
name: nfs-tusd
|
name: ssd-tusd
|
||||||
namespace: tus
|
namespace: tus
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteMany
|
- ReadWriteOnce
|
||||||
storageClassName: ""
|
storageClassName: "ssd"
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 20Gi
|
storage: 20Gi
|
||||||
|
@ -18,12 +18,8 @@ metadata:
|
||||||
namespace: tus
|
namespace: tus
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
minReadySeconds: 10
|
|
||||||
strategy:
|
strategy:
|
||||||
type: RollingUpdate
|
type: Recreate
|
||||||
rollingUpdate:
|
|
||||||
maxSurge: 2
|
|
||||||
maxUnavailable: 0
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
@ -51,7 +47,7 @@ spec:
|
||||||
volumes:
|
volumes:
|
||||||
- name: tusd-disk
|
- name: tusd-disk
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: nfs-tusd
|
claimName: ssd-tusd
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|
Loading…
Reference in New Issue