跳到主要内容
版本:Latest

RoleTemplate Aggregation

警告

RoleTemplate aggregation is an experimental feature in v2.13 that changes the RBAC architecture used for RoleTemplates, ClusterRoleTemplateBindings and ProjectRoleTemplateBindings. It is not supported for production environments. Breaking changes may occur between v2.13 and v2.14.

RoleTemplate aggregation implements RoleTemplates, ClusterRoleTemplateBindings and ProjectRoleTemplateBindings using the Kubernetes feature Aggregated ClusterRoles. The new architecture results in a net reduction in RBAC objects (Roles, RoleBindings, ClusterRoles and ClusterRoleBindings) both in the Rancher cluster and the downstream clusters.

For more information on how the feature can improve scalability and performance, please see the Rancher Blog post.

Environment Variable KeyDefault ValueDescription
aggregated-roletemplatesfalse[Beta] Make RoleTemplates use aggregation for generated RBAC roles.

The value of this feature flag is locked on installation, which shows up in the UI as a lock symbol beside the feature flag. That means the feature can only be set on the first ever installation of Rancher. After that, attempting to modify the value will be denied.