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년 전
관련 콘텐츠
- AWS 공식업데이트됨 3달 전
- AWS 공식업데이트됨 10달 전
- AWS 공식업데이트됨 일 년 전