3 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
1
As the message indicates no storage class exists.
no persistent volumes available for this claim and no storage class is set
What is Pod configuration for storage class?
beantwortet vor 6 Jahren
0
dvohra wrote:
As the message indicates no storage class exists.
no persistent volumes available for this claim and no storage class is setWhat is Pod configuration for storage class?
I am using StatefulSet and this is the volumeClaimTemplates from https://raw.githubusercontent.com/sanderploegsma/redis-cluster/master/redis-cluster.yml
volumeClaimTemplates:
- metadata:
name: data
labels:
name: redis-cluster
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 100Mi
beantwortet vor 6 Jahren
0
after adding storageClassName: aws-gp2 to volumeClaimTemplates, everything resolved
volumeClaimTemplates:
- metadata:
namespace: staging
name: data
labels:
name: redis-cluster
spec:
accessModes: [ "ReadWriteOnce" ]
storageClassName: aws-gp2
resources:
requests:
storage: 100Mi
beantwortet vor 6 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren