[root@master01 ~]# kubectl get pods
NAME READY STATUS RESTARTS AGE
quickstart-es-default-0 0/1 Pending 0 2m37s
[root@master01 ~]# kubectl get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
elasticsearch-data-quickstart-es-default-0 Pending
[root@master01 ~]# kubectl describe pvc elasticsearch-data-quickstart-es-default-0
Name: elasticsearch-data-quickstart-es-default-0
Namespace: default
StorageClass:
Status: Pending
Volume:
Labels: common.k8s.elastic.co/type=elasticsearch
elasticsearch.k8s.elastic.co/cluster-name=quickstart
elasticsearch.k8s.elastic.co/statefulset-name=quickstart-es-default
Annotations: <none>
Finalizers: [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
VolumeMode: Filesystem
Mounted By: quickstart-es-default-0
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal FailedBinding 20s (x62 over 15m) persistentvolume-controller no persistent volumes available for this claim and no storage class is set
yes , but i can't understand what it is , It's not a complete yaml file , i don't know what it tell me , what i should create or what i shoud change, there already have a pending pvc ,how can i Handle it?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.