A team claims a noisy neighbour is slowing down their pods on a shared cluster. How do you prove or disprove it with data?
AdvancedScenarioCloud Monitoring, Incidents and Migrations
Answer
Situation read → "Noisy neighbour" can be CPU, memory bandwidth, disk I/O, or network. Look for contention signals, not just usage.
What I'd do →
- Check CPU throttling on their pods:
rate(container_cpu_cfs_throttled_periods_total{namespace="team-a"}[5m]) / rate(container_cpu_cfs_periods_total{namespace="team-a"}[5m]) - Check node pressure during slow periods:
node_pressure_cpu_waiting_seconds_total,node_pressure_io_waiting_seconds_total(PSI), disknode_disk_io_time_seconds_total. - Identify other pods on the same nodes and their usage at the same time (
container_cpu_usage_seconds_totalby node). - Correlate the team's latency with those neighbours' usage over several incidents.
- If proven: set requests and limits correctly, use dedicated node pools or taints, or Guaranteed QoS.
Why → PSI metrics show real waiting time caused by contention, which usage graphs do not.
Interview tip → Mention that often the "neighbour" turns out to be the team's own low requests.
More on Cloud Monitoring, Incidents and Migrations
A new AWS workload uses EC2, an ALB and RDS, with only CloudWatch available. Which alarms do you create first?BeginnerThe CloudWatch bill jumped from $2k to $15k a month. How do you find and cut the cost?IntermediateYour company has 50 AWS accounts. How do you get one monitoring view?IntermediateYour team uses Prometheus and Grafana, but RDS, SQS and ALB metrics live only in CloudWatch. How do you unify?IntermediateHow do you monitor a fleet of AWS Lambda functions?BeginnerYour RDS PostgreSQL database gets slow every afternoon. What monitoring do you use to find out why?Beginner