Runtime Class Manager is in charge of creating a RuntimeClass for each Shim resource created on the cluster.
The spec.runtimeClass section of the Shim resource configures the RuntimeClass that will be created.
spec.runtimeClass.name: Name of the Kubernetes RuntimeClass- This name should match what is expected by shim-specific operator(s) on the cluster
- For example, the Spin Operator utilizes a SpinAppExecutor resource to run Spin Apps; the default RuntimeClass name it expects can be seen here
spec.runtimeClass.handler: Name of the shim as it is referenced in the containerd config
Note: The RuntimeClass's
scheduling.nodeSelectorwill be set to the same key/value pair as configured in the Shim resource. This ensures that applications targeting the RuntimeClass are only scheduled on nodes where the corresponding runtime shim has been installed.