-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gvisor): add new runtime class with kvm support
This patch adds a new runtime class to the gvisor extension allowing to use the KVM platform feature. This is done by selecting `runsc-kvm` as runtime. References: https://gvisor.dev/docs/user_guide/platforms/ https://gvisor.dev/docs/user_guide/production/ Signed-off-by: Sheogorath <[email protected]> Signed-off-by: Noel Georgi <[email protected]>
- Loading branch information
1 parent
b48d3a6
commit c536209
Showing
4 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runsc-kvm] | ||
runtime_type = "io.containerd.runsc.v1" | ||
|
||
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runsc-kvm.options] | ||
TypeUrl = "io.containerd.runsc.v1.options" | ||
ConfigPath = "/etc/cri/conf.d/runsc-kvm.toml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[runsc_config] | ||
platform = "kvm" |