Two development teams in your organization use Kubernetes and want to deploy their applications while ensuring that Kubernetes-specific resources, such as secrets, are grouped together for each application.
Is this a way to accomplish this?
Solution: Create one namespace for each application and add all the resources to it.
Answer(s): A
Explanation:
Namespaces in Kubernetes are a way to create and organize virtual clusters within physical clusters where we can isolate a group of resources within a single cluster. Namespace helps to organize resources such as pods, services, and volumes within the cluster. By creating one namespace for each application and adding all the resources to it, the development teams can ensure that Kubernetes-specific resources, such as secrets, are grouped together for each application. This also provides a scope for names, a mechanism to attach authorization and policy, and a way to divide cluster resources between multiple users.
Reference:
Namespaces | Kubernetes
Kubernetes - Namespaces - GeeksforGeeks
Namespaces Walkthrough | Kubernetes
Reveal Solution Next Question