debug script
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
# PersistantVolumeClaim.yaml
|
# PersistantVolumeClaim.yaml
|
||||||
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
@@ -9,4 +10,4 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 100Gi
|
storage: 100Gi
|
||||||
storageClassName: distribution
|
storageClassName: distribution-sc
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
kind: StorageClass
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: distribution
|
name: distribution-sc
|
||||||
provisioner: nfs.csi.k8s.io
|
provisioner: nfs.csi.k8s.io
|
||||||
parameters:
|
parameters:
|
||||||
server: 192.168.202.50
|
server: 192.168.202.50
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
# kustomizastion.yaml
|
# kustomizastion.yaml
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
namespace: distribution-sc
|
namespace: distribution-sc
|
||||||
bases:
|
|
||||||
- github.com/kubernetes-sigs/nfs-subdir-external-provisioner//deploy
|
|
||||||
resources:
|
resources:
|
||||||
- Namespace.yaml
|
- Namespace.yaml
|
||||||
- StorageClass.yaml
|
- StorageClass.yaml
|
||||||
- PersistantVolumeClaim.yaml
|
- PersistantVolumeClaim.yaml
|
||||||
- RegistryDeployment.yaml
|
- RegistryDeployment.yaml
|
||||||
- Service.yaml
|
- Service.yaml
|
||||||
patchesStrategicMerge:
|
|
||||||
- patch_nfs_details.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