-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SRIOV lane, Prevent Resources Leak #719
SRIOV lane, Prevent Resources Leak #719
Conversation
Sriov lane uses KIND infrastructure. In order to prevent resources leak it is recommanded to use 'kind' binary to teardown the cluster [1], which is what 'make cluster-down' does. [1] kubernetes-sigs/kind#759 Signed-off-by: Or Mergi <ormergi@redhat.com>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qinqon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/rehearsal |
/rehearse |
Signed-off-by: Or Mergi <ormergi@redhat.com>
/lgtm |
@ormergi: Updated the
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Sriov lane uses KIND infrastructure.
Using KIND in DinD setups requires setting prow job pod to be privileged and mount
/sys/fs/cgroups
,thus it is mandatory to delete the cluster before porw job pod is terminated in order to prevent resources leaks.
kubernetes-sigs/kind#759.
Unlike QEMU VM's based kubevirtci providers where the nodes are VM's and isolated in terms of access to host resources and we dont mount
/sys/fs/cgroups/
it is enough to let the prow job pod terminate to cleanup all the resourcesAt the current sate if for any reasoner sriov lane is interrupted or failed there will be no cluster deletion using
kind
This PR ensures that sriov lane job will teardown the KIND cluster that was created inside the prow job pod
gracefully using
kind
binary in any case.