Merge pull request #25930 from yuandongx/patch-1

[zh] The version number is outdate.
This commit is contained in:
Kubernetes Prow Robot 2021-01-03 18:09:55 -08:00 committed by GitHub
commit a4cbcab9dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ weight: 20
<!-- overview --> <!-- overview -->
{{< feature-state for_k8s_version="v1.14" state="beta" >}} {{< feature-state for_k8s_version="v1.20" state="stable" >}}
<!-- <!--
This page describes the RuntimeClass resource and runtime selection mechanism. This page describes the RuntimeClass resource and runtime selection mechanism.
@ -121,7 +121,7 @@ RuntimeClass 资源当前只有两个重要的字段RuntimeClass 名 (`metada
对象定义如下所示: 对象定义如下所示:
```yaml ```yaml
apiVersion: node.k8s.io/v1beta1 # RuntimeClass 定义于 node.k8s.io API 组 apiVersion: node.k8s.io/v1 # RuntimeClass 定义于 node.k8s.io API 组
kind: RuntimeClass kind: RuntimeClass
metadata: metadata:
name: myclass # 用来引用 RuntimeClass 的名字 name: myclass # 用来引用 RuntimeClass 的名字