Interview Prep/Monitoring & Observability/Cloud Monitoring, Incidents and Migrations

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 →

  1. 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])
    
  2. Check node pressure during slow periods: node_pressure_cpu_waiting_seconds_total, node_pressure_io_waiting_seconds_total (PSI), disk node_disk_io_time_seconds_total.
  3. Identify other pods on the same nodes and their usage at the same time (container_cpu_usage_seconds_total by node).
  4. Correlate the team's latency with those neighbours' usage over several incidents.
  5. 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.

All Monitoring & Observability questions

More on Cloud Monitoring, Incidents and Migrations