File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
content/zh-cn/docs/setup/production-environment Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -462,12 +462,12 @@ As someone setting up authentication and authorization on your production Kubern
462
462
<!--
463
463
- *Set the authorization mode*: When the Kubernetes API server
464
464
([kube-apiserver](/docs/reference/command-line-tools-reference/kube-apiserver/))
465
- starts, the supported authentication modes must be set using the *--authorization-mode*
465
+ starts, supported authorization modes must be set using an *--authorization-config* file or the *--authorization-mode*
466
466
flag. For example, that flag in the *kube-adminserver.yaml* file (in */etc/kubernetes/manifests*)
467
467
could be set to Node,RBAC. This would allow Node and RBAC authorization for authenticated requests.
468
468
-->
469
469
- ** 设置鉴权模式** :当 Kubernetes API 服务器([ kube-apiserver] ( /docs/reference/command-line-tools-reference/kube-apiserver/ ) )启动时,
470
- 所支持的鉴权模式必须使用 ` --authorization-mode ` 标志配置。
470
+ 所支持的鉴权模式必须使用 ` *--authorization-config ` 文件或 ` --authorization-mode ` 标志配置。
471
471
例如,` kube-apiserver.yaml ` (位于 ` /etc/kubernetes/manifests ` 下)中对应的标志可以设置为 ` Node,RBAC ` 。
472
472
这样就会针对已完成身份认证的请求执行 Node 和 RBAC 鉴权。
473
473
<!--
You can’t perform that action at this time.
0 commit comments