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
metadata:
name: ora-data193-nfs
namespace: oracle-namespace
labels:
app: database
version: 19.3.0.1
spec:
storageClassName: pure-file
accessModes:
- ReadWriteMany
resources:
requests:
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


If you’re just getting started with Kubernetes, or have missed my previous posts, here you go.
- Running Oracle 12c on Kubernetes with MiniKube
- Getting Started with Oracle 12c on Kubernetes using Persistent Storage
- How to run Oracle 18c Express Edition (XE) on Kubernetes using Persistent Storage
- Relocating / moving and Oracle Database automated failover with Kubernetes
- Performing Kubernetes Persistent Storage snapshots and clones
[twitter-follow screen_name=’RonEkins’ show_count=’yes’]