Study FAQ
How do you locate a VKS performance bottleneck before scaling?
Also asked as 2
- How do you distinguish workload throttling from VKS infrastructure contention?
- What evidence shows whether slow VKS workloads need more capacity or a configuration change?
Answer
On VCF 9.0 with VKS, start from the measurable symptom and correlate its time window with workload demand, Kubernetes scheduling and VM or host metrics. Scale only when the evidence shows that extra capacity can relieve the actual bottleneck.
For Pending Pods, inspect scheduling events and compare requests with eligible nodes' allocatable resources, pool constraints and dependencies. For running but slow Pods, look at latency, errors, queue growth, CPU throttling, memory pressure and storage or network latency. Kubernetes schedules against requests, while enforcing a CPU limit can throttle an active container. Spare capacity on a host therefore does not by itself rule out throttling inside a Pod.
Correlate affected Pods and guest nodes with vCenter or VCF Operations measurements for the matching VMs, hosts, networks and datastores. Compare with a healthy baseline under similar load. Correct an evidenced constraint such as unsuitable resource requests, a restrictive limit, an exhausted pool or an infrastructure bottleneck. Recheck the original service metric and capacity indicators under comparable demand to see whether the change helped.
References
Full explanation
Monitoring and Optimizing Day-2 VKS Operations
Study guide · 3V0-24.25
Read the full explanation