A logistics enterprise is designing a Google Kubernetes Engine (GKE) cluster architecture to host a real-time tracking system containing two workloads:
1. A stateless API service that ingests location updates continuously.
2. A batch analytics engine that processes bulk telemetry data, can easily recover from unexpected instance terminations, and requires specialized Linux kernel parameters (`sysctl` network tuning) configured at the node OS level.
Which cluster configuration strategy satisfies all technical and operational requirements while optimizing node management and compute costs?
- Deploy a single GKE Standard cluster with a standard node pool of regular Compute Engine instances for the stateless API service, and a separate node pool using Spot VMs with custom node configuration scripts to apply the required sysctl parameters for the batch analytics engine.Answer
- BDeploy a single GKE Autopilot cluster and configure a DaemonSet across the cluster to apply custom sysctl node parameters, setting the batch analytics pods to run on Spot Pods.
- CDeploy a single GKE Standard cluster with a single Spot VM node pool hosting both workloads, applying the custom sysctl parameters across all nodes in the cluster.
- DDeploy a single GKE Standard cluster with an Autopilot node pool for the stateless API service and a Standard node pool with Spot VMs for the batch analytics engine.
Answer
Deploy a single GKE Standard cluster with a standard node pool of regular Compute Engine instances for the stateless API service, and a separate node pool using Spot VMs with custom node configuration scripts to apply the required sysctl parameters for the batch analytics engine.
GKE Standard is required when workloads demand low-level node OS customizations, such as custom sysctl parameters. Creating separate node pools within a single GKE Standard cluster allows the stateless API service to run reliably on regular instances while leveraging Spot VMs for the fault-tolerant batch analytics workload to optimize costs.
Step-by-Step Solution
Key Concept
Selecting between GKE Standard and Autopilot based on node OS modification constraints and leveraging specialized node pools for cost optimization