-
Notifications
You must be signed in to change notification settings - Fork 90
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
Adding containerd config options for the shim #573
Comments
I have a couple questions for this ask:
|
IIUC, a shim can define its own options as a protobuf message |
As @jprendes mentioned, it looks like the options set in the containerd config should be passed in the
I then built the shim locally with a print statement here in
I expected the option to be passed by containerd and logged but there are still not options set:
Does anyone have any recommendations for how to approach this? [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options]
BinaryName = ""
CriuImagePath = ""
CriuPath = ""
CriuWorkPath = ""
IoGid = 0
IoUid = 0
NoNewKeyring = false
NoPivotRoot = false
Root = ""
ShimCgroup = ""
SystemdCgroup = true |
How did you run the shim? Did you use |
Thats a good call out. I'll try again from a Kubernetes context |
One set of options we should consider is how to turn on various runtime options as mentioned in spinkube/containerd-shim-spin#115 (comment) |
When using CRI, I was able to see that |
Consider adding containerd config options for the shim to enable feature code paths. Adding containerd config options for the shim would allow for on node configuration and debugging. It could also provide a path for turning on and off newly release / unstable features w/o recompilation.
Originally from spinkube/containerd-shim-spin#79 (comment)
The text was updated successfully, but these errors were encountered: