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
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
@ -34,13 +22,9 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: repo-data
|
- name: repo-data
|
||||||
mountPath: /usr/share/nginx/html
|
mountPath: /usr/share/nginx/html
|
||||||
- name: repo-archive
|
readOnly: true
|
||||||
mountPath: /usr/share/nginx/html/archive
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: repo-data
|
- name: repo-data
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: pkg-repo-pvc
|
|
||||||
- name: repo-archive
|
|
||||||
nfs:
|
nfs:
|
||||||
server: 192.168.50.50
|
server: 192.168.50.50
|
||||||
path: /mnt/NFS/pve-nfs/pkg-repo
|
path: /mnt/NFS/pve-nfs/pkg-repo
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user