Explain motivation for RuntimeClass (#14490)

This commit is contained in:
Tim Bannister 2019-06-06 06:36:11 +01:00 committed by Kubernetes Prow Robot
parent 7289483c7d
commit 7fef09fee1
1 changed files with 12 additions and 0 deletions

View File

@ -29,6 +29,18 @@ Beta](#upgrading-runtimeclass-from-alpha-to-beta).
RuntimeClass is a feature for selecting the container runtime configuration. The container runtime
configuration is used to run a Pod's containers.
## Motivation
You can set a different RuntimeClass between different Pods to provide a balance of
performance versus security. For example, if part of your workload deserves a high
level of information security assurance, you might choose to schedule those Pods so
that they run in a container runtime that uses hardware virtualization. You'd then
benefit from the extra isolation of the alternative runtime, at the expense of some
additional overhead.
You can also use RuntimeClass to run different Pods with the same container runtime
but with different settings.
### Set Up
Ensure the RuntimeClass feature gate is enabled (it is by default). See [Feature