TI service received burst cleanup calls at two different times and the cleanup procedure created a huge load on timescale DB used by TI service. The CPU of timescale was running at 100% due to which ping to timescale was failing (TI service readiness probe). Since TI service readiness probe was failing, Kubernetes marked the service pods unavailable.
CI pipelines executions which upload test reports and were started during the below time window may have been impacted.
Times: (2:15 AM - 2:50 AM and 4:45 AM to 5:15 AM) PT
Cleanup requested that were queued got completed and system returned to operational
Timescale was not responding to pings which is the readiness probe for TI service. Since TI service readiness probe was unresponsive, Kubernetes marked the service pods unavailable. Timescale DB was running at 100% CPU due to high number of procedure calls made from TI service for periodic cleanup. The DB was already under high utilization due to production workload since all the test reports are stored in this DB. The CG Manager code which runs multiple threads in parallel for periodic cleanup ran on a weekday (supposed to run on weekends) due to a bug which sends cleanup events to all services. CI Manager picked up these events and sent burst cleanup API calls to TI service.