DCA · Question #82
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…
The correct answer is B. No. Creating a single pod for all resources for multiple applications is not an effective way to group resources for each distinct application in Kubernetes.
Question
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 pod and add all the resources needed for each application
Options
- AYes
- BNo
How the community answered
(48 responses)- A6% (3)
- B94% (45)
Why each option
Creating a single pod for all resources for multiple applications is not an effective way to group resources for each distinct application in Kubernetes.
A pod is too granular for grouping all resources of an entire application, let alone multiple applications, as it primarily encapsulates containers and their immediate needs, not higher-level resource management like secrets for an entire application.
A pod is the smallest deployable unit in Kubernetes and typically encapsulates a single application instance or a tightly coupled group of containers; it is not designed to group all diverse resources like secrets for multiple, distinct applications, which is best achieved using namespaces.
Concept tested: Kubernetes resource grouping and isolation
Source: https://kubernetes.io/docs/concepts/workloads/pods/
Topics
Community Discussion
No community discussion yet for this question.