Open lordofire opened 1 year ago
Any update on this issue?
Any update on this issue?
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
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
):cat /etc/os-release
):uname -a
):