Topic 1 Question 186
Your company uses Google Kubernetes Engine (GKE) as a platform for all workloads. Your company has a single large GKE cluster that contains batch, stateful, and stateless workloads. The GKE cluster is configured with a single node pool with 200 nodes. Your company needs to reduce the cost of this cluster but does not want to compromise availability. What should you do?
Create a second GKE cluster for the batch workloads only. Allocate the 200 original nodes across both clusters.
Configure CPU and memory limits on the namespaces in the cluster. Configure all Pods to have a CPU and memory limits.
Configure a HorizontalPodAutoscaler for all stateless workloads and for all compatible stateful workloads. Configure the cluster to use node auto scaling.
Change the node pool to use preemptible VMs.
ユーザの投票
コメント(12)
- 正解だと思う選択肢: C
A: Is not necessary because you can have multiple node pools with different configurations. B: Optimizes resource usage of CPU/memory in your existing node pool but does not necessarily improve cost - still an option that should be considered. C: This looks really good. Autoscaling workloads and the node pools makes your whole infrastructure more elastic and gives you the option to rely on the same node pool. D: This might not be a good option for every type of workload. Batch and stateless workloads can often handle this quite well, but stateful workloads are not well-suited for operation on preemptible VMs.
Since only one answer is accepted, I'll choose C.
👍 11jabrrJ68w02ond12022/09/04 - 正解だと思う選択肢: C
C is the correct answer as it doesn't involve major changes to the current Kubernetes configuration
👍 7ramzez48152022/09/05 Option C is correct. Since, the company does not want to compromise availability of the application so, HPA is suitable option for autoscaling pods. Keeping the cost optimization in mind, nodes of the GKE cluster also needs to be autoscaled. Therefore, the correct option is, C. Configure a HorizontalPodAutoscaler for all stateless workloads and for all compatible stateful workloads. Configure the cluster to use node auto scaling.
👍 3spET_10242022/09/03
シャッフルモード