Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cluster: Remove all the lease from cluster
lease is a mechanism to lock shared resources in k8s and since we start a stopped cluster better to remove all the lease so that lock is not around for longer period of time in case older lease expire and only renew once respective resource ask for it. Also during 4.14 testing we found out if we only remove lease from `openshift-machine-config-operator` namespace then having the pull-secret on the disk takes a longer time then usual. I am still not sure where it is stuck but https://issues.redhat.com/browse/OCPBUGS-7583 is closed as expected behaviour and till 4.13 we used the workaround. From 4.14 that workaround doesn't work because there is no configmap and just removing lease of this namespace not helpful so I am removing all the lease from older cluster which atleast perfrom better.
- Loading branch information