Add sc and pv, pvc not clear implements
This commit is contained in:
14
verdaccio/INSTALL.md
Normal file
14
verdaccio/INSTALL.md
Normal 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
11
verdaccio/pvc.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: npm-verdaccio
|
||||
spec:
|
||||
storageClassName: nfs
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
Reference in New Issue
Block a user