Konvoy utilizes the localvolumeprovisioner for On-Prem deployments. The localvolumeprovisioner addon uses the local volume static provisioner to manage persistent volumes for pre-allocated disks. It does this by watching the /mnt/disks folder on each host and creating persistent volumes in the localvolumeprovisioner storage class for each disk that is discovered in this folder.
https://docs.d2iq.com/dkp/konvoy/latest/storage/static-local-volume/
How do you know how many disks and therefore persistent volumes do you need for Konvoy? How big should they be? We will break each addon down by both quantity and size of Persistent Volumes needed for successful deployment.
Using Konvoy 1.8.0, you can consider these the bare minimum to get ./konvoy up to work properly. Newer versions of Konvoy may demand additional PV beyond what is discussed here, so please keep that in mind. Your workloads will also affect how much storage space per PV is required so we can't give a recommended size or quantity as customer workloads vary widely.
Prometheus - 1 PV
List all PVC, how much space they request and how much they were allocated:
List all Persistent Volumes and which hosts they reside on:
https://docs.d2iq.com/dkp/konvoy/latest/storage/static-local-volume/
How do you know how many disks and therefore persistent volumes do you need for Konvoy? How big should they be? We will break each addon down by both quantity and size of Persistent Volumes needed for successful deployment.
Using Konvoy 1.8.0, you can consider these the bare minimum to get ./konvoy up to work properly. Newer versions of Konvoy may demand additional PV beyond what is discussed here, so please keep that in mind. Your workloads will also affect how much storage space per PV is required so we can't give a recommended size or quantity as customer workloads vary widely.
Prometheus - 1 PV
db-prometheus-prometheus-kubeaddons-prom-prometheus-0 50GiElasticSearch - 7 PV
data-elasticsearch-kubeaddons-data-0 30Gi data-elasticsearch-kubeaddons-data-1 30Gi data-elasticsearch-kubeaddons-data-2 30Gi data-elasticsearch-kubeaddons-data-3 30Gi data-elasticsearch-kubeaddons-master-0 4Gi data-elasticsearch-kubeaddons-master-1 4Gi data-elasticsearch-kubeaddons-master-2 4GiVelero - 4 PV
data-minio-0 10Gi data-minio-1 10Gi data-minio-2 10Gi data-minio-3 10GiKommander - 3 PV
kommander-kubecost-cost-analyzer 32Gi kommander-kubecost-prometheus-alertmanager 2Gi kommander-kubecost-prometheus-server 32GiDispatch - 1 PV
dispatch-kubeaddons-minio 50GiKaptain - 8 PV
authservice-pvc 10Gi data0-minio-ss-0-0 10Gi data0-minio-ss-0-1 10Gi data1-minio-ss-0-0 10Gi data1-minio-ss-0-1 10Gi datadir-kaptain-mysql-store-pxc-0 30Gi datadir-kaptain-mysql-store-pxc-1 30Gi datadir-kaptain-mysql-store-pxc-2 30GiYou can use the two kubectl commands below to evaluate the storage situation on your Konvoy On-Prem Clusters:
List all PVC, how much space they request and how much they were allocated:
kubectl get pvc -A -o custom-columns=NAME:.metadata.name,REQUEST:.spec.resources.requests.storage,ALLOCATED:.status.capacity.storage,STATUS:.status.phase,PV:.spec.volumeName
List all Persistent Volumes and which hosts they reside on:
kubectl get pv -o custom-columns=NAME:.metadata.name,"LOCATION:"".metadata.annotations.pv\.kubernetes\.io/provisioned-by"