Add sc and pv, pvc not clear implements

This commit is contained in:
2021-10-25 10:36:23 +07:00
parent faf8db8cc9
commit e0f46beaab
10 changed files with 291 additions and 0 deletions

14
verdaccio/INSTALL.md Normal file
View File

@@ -0,0 +1,14 @@
# Install Verdaccio
- Installing
```shell
helm repo add verdaccio https://charts.verdaccio.org
helm install npm verdaccio/verdaccio
```
- Create pvc from existing nfs-pc
```shell
kubectl create -f pvc.yaml
```

11
verdaccio/pvc.yaml Normal file
View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: npm-verdaccio
spec:
storageClassName: nfs
accessModes:
- ReadWriteMany
resources:
requests:
storage: 10Gi