- Login to
rancher UI---> select≡icon. - Select
Users & Authentication--->Roles--->Cluster. - Click on
Create Cluster Roleto create a new role for clusters. - Provide a unique role name
Name. - Set
Cluster Creator DefaulttoNoand SetLockedtoNo. - Select the
Grant Resourcesoption ---> click onAdd Resource.- Select a set of operations from the
verbssection to allow a role to perform the operations on the resource. - Select
ResourceandAPI Groups.
- Select a set of operations from the
- If you want to inherit existing roles, Select
Inherit Fromoption ---> click onAdd Resourceto add a new resource ---> Select Role.
viewAllDeletePod role: view all resources and delete only pod.
-
Login to
rancher UI---> select≡icon. -
Select
Users & Authentication--->Roles--->Cluster. -
Click on
Create Cluster Roleto create a new role for clusters. -
Provide a unique role name
viewAllDeletePod. -
Set
Cluster Creator DefaulttoNoand SetLockedtoNo. -
Select the
Grant Resourcesoption ---> click onAdd Resource.-
Select below mentioned
verbs,resources, andAPI Groups.Verbs Resource Non-Resource URLs API Groups get, list, watch * delete pods get, list, watch * networking.istio.io get, list, watch * security.istio.io
-
-
Inherit below mentioned roles, Select
Inherit Fromoption ---> click onAdd Resourceto add a new resource ---> Select Role.View Ingress View Monitoring View Volumes View Nodes View Services View Config Maps View Secrets View Service Accounts View Cluster Catalogs