3回答
- 新しい順
- 投票が多い順
- コメントが多い順
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?
回答済み 6年前
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
回答済み 6年前
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
回答済み 6年前