Updating the Kubeturbo role through OperatorHub
Update the role if you deployed Kubeturbo with a specific role and
now want to use a different role. For example, you may want to change the role from
turbo-cluster-reader
to turbo-cluster-admin
to execute
actions in Turbonomic.
Updating the role
-
In the Kubeturbo Operator page, open the Kubeturbo operator tab.
-
Select your Kubeturbo deployment. For example, select kubeturbo-release.
-
Select YAML view.
-
Update the role for Kubeturbo.
-
Change to the default
cluster-admin
roleTo change to this role, delete the existing role. When this field is left empty, Kubeturbo will automatically switch to the default
cluster-admin
. -
Change to the
turbo-cluster-admin
roleThis custom role specifies the minimum permissions that Kubeturbo needs to monitor your workloads and execute the actions that Turbonomic generated to optimize these workloads.
spec: roleName: turbo-cluster-admin
-
Change to the
turbo-cluster-reader
roleThis custom role is the least privileged role. It specifies the minimum permissions that Kubeturbo needs to monitor your workloads. Actions that Turbonomic generated to optimize these workloads can only be executed outside of Turbonomic (for example, in your cluster).
spec: roleName: turbo-cluster-reader
-
-
Save your changes.
Deleting the existing CRB for Kubeturbo
-
Navigate to User Management > RoleBindings.
-
Search for
turbo-all-binding-kubeturbo-release
. -
Click the three dots icon for the CRB and then select Delete ClusterRoleBinding.
The operator automatically creates the CRB based on the new role that you configured.