QuestionQ165Verified/Kubernetes FundamentalsCopy linkReport a problemAsk AstroTutorSave questionWhich statement correctly describes Role and ClusterRole objects in Kubernetes?ARoles can only set permissions for resources within a particular namespace.BClusterRoles and Roles can remove permissions from resources within a namespace.CClusterRoles can only set permissions for resources that are not assigned to a namespace.DRoles can set permissions for both namespaced and non-namespaced objects.Show AnswerAnswerExplanationA Kubernetes Role always sets permissions within one particular namespace. RBAC permissions are additive rather than deny rules, while a ClusterRole can define permissions for namespaced resources as well as cluster-scoped resources.Learn moreUsing RBAC Authorization | KubernetesShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion