A financial transaction processing company is planning a new Google Kubernetes Engine (GKE) cluster architecture to host two workloads with contrasting technical requirements. The first workload is a stateful transaction logging engine that requires custom host-level Linux kernel parameters (`sysctl`) tuned on the underlying nodes. The second workload is a large-scale, fault-tolerant batch processing job that can tolerate sudden instance terminations. The DevOps team wants to minimize node compute costs for the batch processing job while ensuring the transaction logging engine runs on nodes with the required kernel modifications. Which cluster architecture design should you recommend?
- Provision a GKE Standard cluster containing a dedicated node pool configured with custom sysctl settings for the transaction logging workload, and a separate node pool using Spot VMs for the batch processing workload.Cevap
- BProvision a GKE Autopilot cluster, deploying the transaction logging workload with a privileged DaemonSet to set host kernel parameters, and deploying the batch processing workload as Spot Pods.
- CProvision a GKE Autopilot cluster utilizing Spot Pods for both the stateful transaction logging workload and the batch processing workload to minimize compute cost and node management overhead.
- DProvision a GKE Standard cluster with a single node pool comprised of Spot VMs, applying custom sysctl parameters across all nodes to support both workloads within one pool.
Cevap
Provision a GKE Standard cluster containing a dedicated node pool configured with custom sysctl settings for the transaction logging workload, and a separate node pool using Spot VMs for the batch processing workload.
The correct recommendation is to use a GKE Standard cluster configured with multiple node pools. GKE Standard provides full access to node configurations, allowing sysctl kernel parameter customization for the stateful transaction logging workload. Adding a secondary node pool using Spot VMs allows the fault-tolerant batch processing workload to run at significantly reduced costs without risking the stability of the transaction logger.
Adım Adım Çözüm
Anahtar Kavram
GKE Cluster Planning: Autopilot vs Standard Operational Boundaries & Heterogeneous Node Pool Architecture