debug script
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
# PersistantVolumeClaim.yaml
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
@@ -9,4 +10,4 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Gi
|
||||
storageClassName: distribution
|
||||
storageClassName: distribution-sc
|
||||
@@ -2,7 +2,7 @@
|
||||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: distribution
|
||||
name: distribution-sc
|
||||
provisioner: nfs.csi.k8s.io
|
||||
parameters:
|
||||
server: 192.168.202.50
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
# kustomizastion.yaml
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: distribution-sc
|
||||
bases:
|
||||
- github.com/kubernetes-sigs/nfs-subdir-external-provisioner//deploy
|
||||
|
||||
resources:
|
||||
- Namespace.yaml
|
||||
- StorageClass.yaml
|
||||
- PersistantVolumeClaim.yaml
|
||||
- RegistryDeployment.yaml
|
||||
- Service.yaml
|
||||
patchesStrategicMerge:
|
||||
- patch_nfs_details.yaml
|
||||
- Service.yaml
|
||||
@@ -1,22 +0,0 @@
|
||||
# patch_nfs_details.yaml
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: nfs-client-provisioner
|
||||
name: nfs-distribution-provisioner
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: nfs-distribution-provisioner
|
||||
env:
|
||||
- name: NFS_SERVER
|
||||
value: 192.168.202.50
|
||||
- name: NFS_PATH
|
||||
value: /srv/distribution/
|
||||
volumes:
|
||||
- name: nfs-distribution-root
|
||||
nfs:
|
||||
server: 192.168.202.50
|
||||
path: /srv/distribution/
|
||||
Reference in New Issue
Block a user