cni: pass in the cgroupPath capability argument#8067
Conversation
|
Hi @squeed. Thanks for your PR. I'm waiting for a containerd 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. DetailsInstructions 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. |
13d1e9d to
f807001
Compare
|
/cc |
|
/ok-to-test |
|
@MikeZappa87: Cannot trigger testing until a trusted user reviews the PR and leaves an DetailsIn 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. |
|
This is not unit-testable (due to the structure of go-cni), but I spun up a test cluster and saw this passed in correctly. Specifically, my debug plugin saw this as the CNI configuration: |
|
It is not related to your change. It seems it's env issue. Retrying Handles NPM(K) PM(K) WS(K) CPU(s) Id SI ProcessName
------- ------ ----- ----- ------ -- -- -----------
96 8 18752 64[24](https://github.com/containerd/containerd/actions/runs/4125687270/jobs/7126754034#step:23:25) 0.05 184 1 containerd
IgnoreCase : True
LineNumber : 4
Line : System.Diagnostics.Process (containerd)
Filename : InputStream
Path : InputStream
Pattern : containerd
Context :
Matches : {0}
critest.exe : The term 'critest.exe' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At D:\a\_temp\c9357b88-b470-48[31](https://github.com/containerd/containerd/actions/runs/4125687270/jobs/7126754034#step:23:32)-892f-0a3182ab57b4.ps1:11 char:1
+ critest.exe --runtime-endpoint=npipe://.//pipe//containerd-containerd ...
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (critest.exe:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CommandNotFoundException |
|
@fuweid should I bump the version of go-cni? I would need a version bump (or to pick up master) |
|
Hi @squeed The CI issue has been fixed by #8074. You can rebase it and repush.
Let's pick up master in this pr, since we just release v1.1.8 for go-cni. 😂 |
f807001 to
cdf9706
Compare
|
rebased; pulled in go-cni tip. Otherwise no changes. |
|
@squeed please use |
cdf9706 to
bffacb3
Compare
|
@fuweid oops, sorry about that. Fixed! |
Signed-off-by: Casey Callendrello <[email protected]>
There is a new CNI capability argument, cgroupPath, where runtimes can pass cgroup paths to CNI plugins. Implement that. Signed-off-by: Casey Callendrello <[email protected]>
bffacb3 to
0166783
Compare
|
aha, I needed to |
There is a new CNI capability argument, cgroupPath, where runtimes can pass cgroup paths to CNI plugins.
(see: containernetworking/cni#936)
Implement that.
Signed-off-by: Casey Callendrello [email protected]