3 Respostas
- Mais recentes
- Mais votos
- Mais comentários
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?
respondido há 6 anos
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
respondido há 6 anos
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
respondido há 6 anos
Conteúdo relevante
- AWS OFICIALAtualizada há 9 meses
- AWS OFICIALAtualizada há 2 anos