我正在尝试在牧场主上配置我的 kubernetes 集群。当我部署 rabbitmq 时,它创建了待处理的卷。我不明白如何使用存储。我知道手动存储类名。这是我的rabbitmq的yaml:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: "2019-04-10T07:29:13Z"
finalizers:
- kubernetes.io/pvc-protection
labels:
app: rabbitmq
release: rabbitmq
name: data-rabbitmq-0
namespace: ucpaas
resourceVersion: "82695"
selfLink: /api/v1/namespaces/ucpaas/persistentvolumeclaims/data-rabbitmq-0
uid: 56d2908d-5b62-11e9-9b0c-0050563e499c
spec:
accessModes:
- ReadWriteOnce
dataSource: null
resources:
requests:
storage: 8Gi
volumeMode: Filesystem
status:
phase: Pending
我的牧场主集群是自定义的(contabo.com)
如何绑定这个 pvc ?