You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug: When a pod is created with the localpv provisioned, deleting the pod using kubectl along with the pv will take around 40+ seconds whereas creating a pod should return instantly.
Expected behaviour: Delete a pod should have very small blocking wait compared to pod creation.
Steps to reproduce the bug:
Setup the hostpath with xfs quota enabled. Install the openebs localpv provisioner.
Create a pod along with the pv with the following configuration test.yaml
cmd: kubectl apply -f test.yaml
3. After waiting the pod being created, delete the pod as well as the pvc together using kubectl:
cmd: kubectl delete -f test.yaml
My test output when performing the delete:
Linux$ time kubectl delete -f test.yaml
persistentvolumeclaim "local-hostpath-pvc" deleted
pod "hello-local-device-pod" deleted
real 0m43.641s
user 0m0.098s
sys 0m0.034s
Anything else we need to know?:
N/A
Environment details:
OpenEBS version (use kubectl get po -n openebs --show-labels):
This might help in achieving quicker Pod-schedule times for the hostpath delete job. There aren't a lot of tweak-able setting that make the controller more. However, that is an enhancement that could benefit users.
I'll see the hostNetwork change going in in v4.1.0. Maybe you could see if that helps with your times.
@lordofire did you capture some logs from openebs-localpv-provisioner-5d88cb474b-j59qk at the time? It seems to have restarted 16 times. @niladrih any updates here, do you understand the root cause?
Describe the bug: When a pod is created with the localpv provisioned, deleting the pod using kubectl along with the pv will take around 40+ seconds whereas creating a pod should return instantly.
Expected behaviour: Delete a pod should have very small blocking wait compared to pod creation.
Steps to reproduce the bug:
test.yaml
cmd:
kubectl apply -f test.yaml
3. After waiting the pod being created, delete the pod as well as the pvc together using kubectl:
cmd:
kubectl delete -f test.yaml
My test output when performing the delete:
Anything else we need to know?:
N/A
Environment details:
kubectl get po -n openebs --show-labels
):kubectl version
):Bare-metal. XFS config is the following:
cat /etc/os-release
):uname -a
):N/A
The text was updated successfully, but these errors were encountered: