forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Register RuntimeClass CRD as an addon
- Loading branch information
Showing
4 changed files
with
47 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
approvers: | ||
- tallclair | ||
- dchen1107 | ||
reviewers: | ||
- sig-node-reviewers |
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,12 @@ | ||
# RuntimeClass | ||
|
||
RuntimeClass is an alpha feature for supporting multiple container runtimes within a cluster. When | ||
enabled, pods can select a RuntimeClass to run with using the `PodSpec.RuntimeClassName` field. | ||
|
||
To enable RuntimeClass, set the feature gate `RuntimeClass=true`, and ensure the CRD defined in this | ||
directory is installed. | ||
|
||
For more information, see: | ||
https://github.com/kubernetes/community/blob/master/keps/sig-node/0014-runtime-class.md | ||
|
||
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/cluster/addons/runtimeclass/README.md?pixel)]() |
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,26 @@ | ||
kind: CustomResourceDefinition | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
metadata: | ||
name: runtimeclasses.node.k8s.io | ||
labels: | ||
addonmanager.kubernetes.io/mode: Reconcile | ||
spec: | ||
group: node.k8s.io | ||
version: v1alpha1 | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true | ||
names: | ||
plural: runtimeclasses | ||
singular: runtimeclass | ||
kind: RuntimeClass | ||
scope: Cluster | ||
validation: | ||
openAPIV3Schema: | ||
properties: | ||
spec: | ||
properties: | ||
runtimeHandler: | ||
type: string | ||
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$' |
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