2V0-71.23 Question 159
Select 2You are working as a Kubernetes administrator for a company that uses VMware Tanzu Mission Control (TMC). The organization has multiple Kubernetes clusters running across different environments, including development, staging, and production. The company wants to ensure that policies, such as resource quotas and security constraints, can be applied consistently to clusters based on their purpose (e.g., all production clusters). Additionally, developers should have isolated namespaces within clusters to deploy their applications. How can you achieve this using Tanzu Mission Control?
- A
Create Cluster Groups in Tanzu Mission Control based on the environment (e.g., development, staging, production) and apply policies at the Cluster Group level.
- B
Define Workspaces in Tanzu Mission Control, assign clusters to the Workspaces, and apply policies at the Workspace level.
- C
Use Cluster Groups to group clusters by purpose and Workspaces to provide isolated namespaces for developer teams within the clusters.
- D
Apply policies directly to individual clusters without using Cluster Groups or Workspaces to simplify management.
- E
Use Cluster Groups to provide isolated namespaces for developers and Workspaces to group clusters by purpose.
Show answer and explanation
Correct answers: A, C
Explanation
To manage multiple Kubernetes clusters effectively in Tanzu Mission Control, use Cluster Groups to group clusters based on their purpose (e.g., development, staging, production) and apply consistent policies at the group level. For application teams, use Workspaces to create isolated namespaces within clusters, ensuring that developers have a controlled environment to deploy their workloads. This approach ensures scalability, consistency, and proper isolation in multi-cluster environments.
- A. Correct.
Correct. Cluster Groups in Tanzu Mission Control allow you to group clusters by their purpose, such as development, staging, or production, enabling consistent policy application across clusters in the group.
- B. Incorrect.
Incorrect. Workspaces are not designed to group clusters; they are used to provide isolated namespaces for application teams within the clusters. Policies cannot be applied at the Workspace level to clusters.
- C. Correct.
Correct. This approach leverages Cluster Groups for consistent policy application across clusters and Workspaces for isolated namespaces within clusters for developers.
- D. Incorrect.
Incorrect. Applying policies directly to individual clusters does not scale well and defeats the purpose of using Cluster Groups and Workspaces for centralized and efficient management.
- E. Incorrect.
Incorrect. Cluster Groups are not used for providing isolated namespaces; this is the role of Workspaces. Similarly, Workspaces are not used to group clusters by purpose.