-
Notifications
You must be signed in to change notification settings - Fork 38.6k
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
Match on cri-o socket suffix only #118704
Conversation
Hi @dgl. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/sig node |
/assign @haircommander |
this makes sense to me! I think the ultimate aim is to have cri stats provider not be so strange in cri-o, but that needs work that hopefully will happen over this release. in the meantime, this exact path match is really awkward and has always been a sore spot for me. /lgtm |
some compile errors |
/retest |
/retest |
/retest |
This deals with the case that a user can configure cri-o to use /run/crio/crio.sock and get very confusing behavior. See cri-o/cri-o#7010 (comment)
/retest |
@haircommander sorry about the delay on this, was on leave, now ready for review (and apparently goimports wasn't setup properly, I've now fixed my setup...) |
/lgtm |
LGTM label has been added. Git tree hash: cb69a24a8d2da5f515135bc327d5f295db43f527
|
/assign @mrunalp |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dgl, mrunalp 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 |
This deals with the case that a user can configure cri-o to use /run/crio/crio.sock and get very confusing behavior.
See cri-o/cri-o#7010 (comment)
What type of PR is this?
/kind bug
What this PR does / why we need it:
Updates the path used by the kubelet to decide whether the runtime is CRI-O to also match on
/run/crio/crio.sock
. This fixes a strange, non-obvious behaviour users may see if they configure a different (but valid) path to CRI-O. See cri-o/cri-o#7010 (comment)Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: