QuestionQ262Verified/Kubernetes FundamentalsCopy linkReport a problemAsk AstroTutorSave questionIn Kubernetes, how are Namespaces different from Labels when managing resources in a cluster?ANamespaces can only contain Pods, but Labels can be applied to any Kubernetes resource.BNamespaces are assigned statically, while Labels can be modified dynamically.CNamespaces are only used for access control, while Labels are solely for resource monitoring.DNamespaces are used to isolate resources, while Labels are used for query and selection.Show AnswerAnswerExplanationNamespaces provide a mechanism to isolate groups of namespaced resources within a single cluster. Labels are key/value metadata that organize objects and enable label selectors to query and select subsets of resources.Learn moreNamespaces | KubernetesLabels and Selectors | KubernetesShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion