Skip to content

Instantly share code, notes, and snippets.

@pandeybk
Created April 2, 2024 19:39
Show Gist options
  • Save pandeybk/2ff0741aa7711c42bdf6177fb5d6dd7a to your computer and use it in GitHub Desktop.
Save pandeybk/2ff0741aa7711c42bdf6177fb5d6dd7a to your computer and use it in GitHub Desktop.
custom-storage class for Red Hat Openshift AI
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
annotations:
openshift.io/description: ""
openshift.io/display-name: demo2
finalizers:
- kubernetes.io/pvc-protection
labels:
opendatahub.io/dashboard: "true"
name: demo2
namespace: demo
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi
storageClassName: gp2-csi
volumeMode: Filesystem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment