RuntimeClass GA
This commit is contained in:
@@ -9,7 +9,7 @@ weight: 20
|
|||||||
|
|
||||||
<!-- overview -->
|
<!-- overview -->
|
||||||
|
|
||||||
{{< feature-state for_k8s_version="v1.14" state="beta" >}}
|
{{< feature-state for_k8s_version="v1.20" state="GA" >}}
|
||||||
|
|
||||||
This page describes the RuntimeClass resource and runtime selection mechanism.
|
This page describes the RuntimeClass resource and runtime selection mechanism.
|
||||||
|
|
||||||
@@ -66,7 +66,7 @@ The RuntimeClass resource currently only has 2 significant fields: the RuntimeCl
|
|||||||
(`metadata.name`) and the handler (`handler`). The object definition looks like this:
|
(`metadata.name`) and the handler (`handler`). The object definition looks like this:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: node.k8s.io/v1beta1 # RuntimeClass is defined in the node.k8s.io API group
|
apiVersion: node.k8s.io/v1 # RuntimeClass is defined in the node.k8s.io API group
|
||||||
kind: RuntimeClass
|
kind: RuntimeClass
|
||||||
metadata:
|
metadata:
|
||||||
name: myclass # The name the RuntimeClass will be referenced by
|
name: myclass # The name the RuntimeClass will be referenced by
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ that uses around 120MiB per Pod for the virtual machine and the guest OS:
|
|||||||
```yaml
|
```yaml
|
||||||
---
|
---
|
||||||
kind: RuntimeClass
|
kind: RuntimeClass
|
||||||
apiVersion: node.k8s.io/v1beta1
|
apiVersion: node.k8s.io/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: kata-fc
|
name: kata-fc
|
||||||
handler: kata-fc
|
handler: kata-fc
|
||||||
|
|||||||
@@ -725,7 +725,7 @@ See the [resourceQuota design doc](https://git.k8s.io/community/contributors/des
|
|||||||
|
|
||||||
### RuntimeClass {#runtimeclass}
|
### RuntimeClass {#runtimeclass}
|
||||||
|
|
||||||
{{< feature-state for_k8s_version="v1.16" state="alpha" >}}
|
{{< feature-state for_k8s_version="v1.18" state="beta" >}}
|
||||||
|
|
||||||
For [RuntimeClass](/docs/concepts/containers/runtime-class/) definitions which describe an overhead associated with running a pod,
|
For [RuntimeClass](/docs/concepts/containers/runtime-class/) definitions which describe an overhead associated with running a pod,
|
||||||
this admission controller will set the pod.Spec.Overhead field accordingly.
|
this admission controller will set the pod.Spec.Overhead field accordingly.
|
||||||
|
|||||||
@@ -128,14 +128,13 @@ different Kubernetes components.
|
|||||||
| `PodDisruptionBudget` | `false` | Alpha | 1.3 | 1.4 |
|
| `PodDisruptionBudget` | `false` | Alpha | 1.3 | 1.4 |
|
||||||
| `PodDisruptionBudget` | `true` | Beta | 1.5 | |
|
| `PodDisruptionBudget` | `true` | Beta | 1.5 | |
|
||||||
| `PodOverhead` | `false` | Alpha | 1.16 | - |
|
| `PodOverhead` | `false` | Alpha | 1.16 | - |
|
||||||
|
| `PodOverhead` | `true` | Beta | 1.18 | - |
|
||||||
| `ProcMountType` | `false` | Alpha | 1.12 | |
|
| `ProcMountType` | `false` | Alpha | 1.12 | |
|
||||||
| `QOSReserved` | `false` | Alpha | 1.11 | |
|
| `QOSReserved` | `false` | Alpha | 1.11 | |
|
||||||
| `RemainingItemCount` | `false` | Alpha | 1.15 | |
|
| `RemainingItemCount` | `false` | Alpha | 1.15 | |
|
||||||
| `RotateKubeletServerCertificate` | `false` | Alpha | 1.7 | 1.11 |
|
| `RotateKubeletServerCertificate` | `false` | Alpha | 1.7 | 1.11 |
|
||||||
| `RotateKubeletServerCertificate` | `true` | Beta | 1.12 | |
|
| `RotateKubeletServerCertificate` | `true` | Beta | 1.12 | |
|
||||||
| `RunAsGroup` | `true` | Beta | 1.14 | |
|
| `RunAsGroup` | `true` | Beta | 1.14 | |
|
||||||
| `RuntimeClass` | `false` | Alpha | 1.12 | 1.13 |
|
|
||||||
| `RuntimeClass` | `true` | Beta | 1.14 | |
|
|
||||||
| `ServiceAppProtocol` | `false` | Alpha | 1.18 | 1.18 |
|
| `ServiceAppProtocol` | `false` | Alpha | 1.18 | 1.18 |
|
||||||
| `ServiceAppProtocol` | `true` | Beta | 1.19 | |
|
| `ServiceAppProtocol` | `true` | Beta | 1.19 | |
|
||||||
| `ServerSideApply` | `false` | Alpha | 1.14 | 1.15 |
|
| `ServerSideApply` | `false` | Alpha | 1.14 | 1.15 |
|
||||||
@@ -269,6 +268,9 @@ different Kubernetes components.
|
|||||||
| `ResourceQuotaScopeSelectors` | `true` | GA | 1.17 | - |
|
| `ResourceQuotaScopeSelectors` | `true` | GA | 1.17 | - |
|
||||||
| `RotateKubeletClientCertificate` | `true` | Beta | 1.8 | 1.18 |
|
| `RotateKubeletClientCertificate` | `true` | Beta | 1.8 | 1.18 |
|
||||||
| `RotateKubeletClientCertificate` | `true` | GA | 1.19 | - |
|
| `RotateKubeletClientCertificate` | `true` | GA | 1.19 | - |
|
||||||
|
| `RuntimeClass` | `false` | Alpha | 1.12 | 1.13 |
|
||||||
|
| `RuntimeClass` | `true` | Beta | 1.14 | 1.19 |
|
||||||
|
| `RuntimeClass` | `true` | GA | 1.20 | - |
|
||||||
| `ScheduleDaemonSetPods` | `false` | Alpha | 1.11 | 1.11 |
|
| `ScheduleDaemonSetPods` | `false` | Alpha | 1.11 | 1.11 |
|
||||||
| `ScheduleDaemonSetPods` | `true` | Beta | 1.12 | 1.16 |
|
| `ScheduleDaemonSetPods` | `true` | Beta | 1.12 | 1.16 |
|
||||||
| `ScheduleDaemonSetPods` | `true` | GA | 1.17 | - |
|
| `ScheduleDaemonSetPods` | `true` | GA | 1.17 | - |
|
||||||
|
|||||||
+1
-1
@@ -177,7 +177,7 @@ This label reflects the Windows major, minor, and build number that need to matc
|
|||||||
1. Save this file to `runtimeClasses.yml`. It includes the appropriate `nodeSelector` for the Windows OS, architecture, and version.
|
1. Save this file to `runtimeClasses.yml`. It includes the appropriate `nodeSelector` for the Windows OS, architecture, and version.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: node.k8s.io/v1beta1
|
apiVersion: node.k8s.io/v1
|
||||||
kind: RuntimeClass
|
kind: RuntimeClass
|
||||||
metadata:
|
metadata:
|
||||||
name: windows-2019
|
name: windows-2019
|
||||||
|
|||||||
Reference in New Issue
Block a user