Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saravanastoragenetwork/openshift_nfs
NFS server in OpenShift
https://github.com/saravanastoragenetwork/openshift_nfs
Last synced: 26 days ago
JSON representation
NFS server in OpenShift
- Host: GitHub
- URL: https://github.com/saravanastoragenetwork/openshift_nfs
- Owner: SaravanaStorageNetwork
- Created: 2021-11-26T18:13:06.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-26T18:14:37.000Z (almost 3 years ago)
- Last Synced: 2024-10-03T11:41:45.848Z (about 1 month ago)
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
# Create NFS server
oc create -f nfs-server.yaml# Create a NFS service on top of the NFS server
oc create -f nfs_service.yaml
// Note down the IP address of the NFS service--
# Create the storageclass
oc create -f nfs_storageclass.yaml# Patch the storage class as default
oc patch storageclass nfs-server -p '{"metadata": {"annotations": {"storageclass.kubernetes.io/is-default-class": "true"}}}'# Patch any other storage class which are set as default to "false"
oc patch storageclass -p '{"metadata": {"annotations": {"storageclass.kubernetes.io/is-default-class": "false"}}}'
--# Create a PV
oc create -f nfs_pv.yaml
// server:# Create a PVC
oc create -f nfs_pvc.yaml# Create a app accessing the PVC
oc create -f nfs_busybox.yaml# Verify NFS mount
oc rsh po/
# mount | grep nfs