Describe the bug: Always docker overlay2.size and not pvc request size.
Expected behaviour: The actual size should be the pvc request size.
Steps to reproduce the bug:
-
openebs localpv and docker in same xfs with prjquota enabled
-
enable overlay.size in docker daemon config
cat /etc/docker/daemon.json
{
"storage-driver": "overlay2",
"storage-opts": [
"overlay2.size=10GB"
]
}
- deploy a pod and pvc with size equal 5 GB
The output of the following commands will help us better understand what's going on:
Anything else we need to know?:
Add any other context about the problem here.
Environment details:
- OpenEBS version (use
kubectl get po -n openebs --show-labels): 4.0.0
- Kubernetes version (use
kubectl version): v1.28.7+k3s1
- Cloud provider or hardware configuration: AMD EPYC 7452 32-Core Processor / Intel D3-S4510 Series 480GB TLC SATA 6Gbps
- OS (e.g:
cat /etc/os-release): ubuntu 22.04
- kernel (e.g:
uname -a): 5.15.0-97-generic
- others:
Describe the bug: Always docker overlay2.size and not pvc request size.
Expected behaviour: The actual size should be the pvc request size.
Steps to reproduce the bug:
openebs localpv and docker in same xfs with prjquota enabled
enable overlay.size in docker daemon config
cat /etc/docker/daemon.json { "storage-driver": "overlay2", "storage-opts": [ "overlay2.size=10GB" ] }The output of the following commands will help us better understand what's going on:
kubectl get pods -n <openebs_namespace> --show-labelskubectl logs <upgrade_job_pod> -n <openebs_namespace>Anything else we need to know?:
Add any other context about the problem here.
Environment details:
kubectl get po -n openebs --show-labels): 4.0.0kubectl version): v1.28.7+k3s1cat /etc/os-release): ubuntu 22.04uname -a): 5.15.0-97-generic