Configuration: K8s Cluster made up of 3 control-plane nodes and 3 worker nodes
The aim is to create a working ArangoDB K8s Cluster with 3 DB-Servers, one for each control-plane node, and 3 Agents, one for each worker node
The PV I defined do not get Bound, and the corresponding PVC are stuck in Pending State. What mistakes did I make in the definition of the Persistent Volumes and in the definition of the Deployment?
pv :
root@k8s-eu-1-control-plane-node-1:~# kubectl get pv
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
arango-pv-agent-worker-1 160Gi RWO Delete Available local-storage-arango 13m
arango-pv-agent-worker-2 160Gi RWO Delete Available local-storage-arango 13m
arango-pv-agent-worker-3 160Gi RWO Delete Available local-storage-arango 13m
arango-pv-db-server-control-plane-node-1 200Gi RWO Delete Available local-storage-arango 13m
arango-pv-db-server-control-plane-node-2 200Gi RWO Delete Available local-storage-arango 13m
arango-pv-db-server-control-plane-node-3 200Gi RWO Delete Available local-storage-arango 13m
nats-pv-jetstream-worker-1 10Gi RWO Delete Bound default/nats-js-nats-1 local-storage-nats-jetstream 39h
nats-pv-jetstream-worker-2 10Gi RWO Delete Bound default/nats-js-nats-2 local-storage-nats-jetstream 39h
nats-pv-jetstream-worker-3 10Gi RWO Delete Bound default/nats-js-nats-0 local-storage-nats-jetstream 39h
My Environment
The PV I defined do not get Bound, and the corresponding PVC are stuck in Pending State. What mistakes did I make in the definition of the Persistent Volumes and in the definition of the Deployment?
pv
:pvc
:pods
:These are the configuration files I defined :
arango-local-storage-class.yaml
:arango-pv-db-server-control-plane-node-1.yaml
:arango-pv-agent-worker-1.yaml
:arango-deployment.yaml
:What's wrong with these configuration files? And how to make PV and the PVC work?