Site icon Ron Ekins' – Oracle Technology, DevOps and Kubernetes Blog

Getting started with Kubernetes Persistent File Storage

I have recently created a number of blogs posts on running containerised Oracle databases on Kubernetes using the Pure Storage Container Storage Interface (CSI) Driver Pure Service Orchestrator (PSO) to provide persistent block storage to my Oracle database containers using the Pure Service Orchestrator.

In this Blog I am going to show how it’s equally easy to create persistent file storage using the Pure Service Orchestrator CSI Driver.

Persistent Volume Creation – NFS

Below is an extract from my persistent volume claim yaml file, this shows a mount point which I will be using to deliver an Oracle 19c database in a future blog post.

kind: PersistentVolumeClaim
apiVersion: v1
  name: ora-data193-nfs
  namespace: oracle-namespace
    app: database
  storageClassName: pure-file
    - ReadWriteMany
     storage: 20Gi
$ kubectl apply -f pvc-nfs.yaml -n oracle-namespace
persistentvolumeclaim/ora-data193-nfs created

We can review our persistent volume claims using kubectl get pvc

$ kubectl get pvc/ora-data193-nfs -n oracle-namespace
NAME            STATUS VOLUME                                 CAPACITY ACCESS MODES  STORAGECLASS
ora-data193-nfs Bound  pvc-43b05441-7699-4137-932f-2b258c3a75ea 20Gi     RWX            pure-file
Kubernets Dashboard – Persistent Volume Claims
FlashBlade File Systems

If you’re just getting started with Kubernetes, or have missed my previous posts, here you go.

[twitter-follow screen_name=’RonEkins’ show_count=’yes’]

Exit mobile version