Update k8s manifests
This commit is contained in:
parent
337d97cddb
commit
0a6f3c1461
@ -1,16 +1,4 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: pkg-repo-pvc
|
||||
namespace: pkg-repo
|
||||
spec:
|
||||
storageClassName: longhorn-noreplica
|
||||
accessModes: [ReadWriteOnce]
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
@ -34,13 +22,9 @@ spec:
|
||||
volumeMounts:
|
||||
- name: repo-data
|
||||
mountPath: /usr/share/nginx/html
|
||||
- name: repo-archive
|
||||
mountPath: /usr/share/nginx/html/archive
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: repo-data
|
||||
persistentVolumeClaim:
|
||||
claimName: pkg-repo-pvc
|
||||
- name: repo-archive
|
||||
nfs:
|
||||
server: 192.168.50.50
|
||||
path: /mnt/NFS/pve-nfs/pkg-repo
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user