Kubernetes
RBAC
ServiceAccounts、Roles、ClusterRoles とそのバインディングを参照して、誰が何をできるかを理解。
RBACページを使用して、このクラスターで誰が何をできるかという問いにすばやく答えましょう。
ServiceAccounts
ServiceAccounts page は current namespace の identity を表示します。API が返す image pull secret などを表示しますが、modern cluster が generated token Secret を作成するとは限りません。
Roles and ClusterRoles
RolesおよびClusterRolesを使用して、それらのIDに付与された権限を確認します。詳細ビューでは、rules配列をapiGroups、resources、verbs、およびresourceNamesを含む読みやすいテーブルに展開して表示します。
RoleBindings and ClusterRoleBindings
RoleBindingsおよびClusterRoleBindingsを使用して、各ロールを指しているサブジェクトを確認します。リストにはロール参照と、ユーザー、グループ、ServiceAccountを含むサブジェクトが表示されます。
Troubleshooting permissions
Roles page の Can I は verb、resource、namespace、group、subresource、optional name で SelfSubjectAccessReview を行います。対象は current kubeconfig identity であり、任意の Pod ServiceAccount ではありません。