remove nfs via synology

This commit is contained in:
2025-08-01 09:15:07 -05:00
parent bd27975bf3
commit 99fb15f8f0
10 changed files with 242 additions and 15 deletions

View File

@@ -0,0 +1,38 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nfs-client-provisioner
labels:
app: nfs-client-provisioner
namespace: openshift-nfs-storage
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: nfs-client-provisioner
template:
metadata:
labels:
app: nfs-client-provisioner
spec:
serviceAccountName: nfs-client-provisioner
containers:
- name: nfs-client-provisioner
image: gcr.io/k8s-staging-sig-storage/nfs-subdir-external-provisioner:v4.0.0
volumeMounts:
- name: nfs-client-root
mountPath: /persistentvolumes
env:
- name: PROVISIONER_NAME
value: storage.io/nfs
- name: NFS_SERVER
value: 10.10.121.35
- name: NFS_PATH
value: /volume1/nfs-ocp
volumes:
- name: nfs-client-root
nfs:
server: 10.10.121.35
path: /volume1/nfs-ocp