Volume Claim not working in Red Hat OpenShift Container Platform 3.11 when done via Web-Console
Issue
- We have a new Openshift 3.11 Cluster with local volume storage configured. When we create a Persistant Volume Claim using web-console it creates a claim as shown below. The problem is the claim remains pending forever. But when I'm adding
storageClassNameto the claim it works and correctly claims the volume.
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
annotations:
volume.beta.kubernetes.io/storage-class: local-ssd
finalizers:
- kubernetes.io/pvc-protection
name: test
namespace: storagetest
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 9G
Environment
- Red Hat OpenShift Container Platform 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.