serving icon indicating copy to clipboard operation
serving copied to clipboard

Activatior issue: The cold start time significantly increases when rw.podsAddressable is set to false.

Open kinderyj opened this issue 6 months ago • 2 comments

Knative v1.11 on Kubernetes 1.27 Issue Description: The cold start time significantly increases when rw.podsAddressable is set to false.

The podsAddressable flag is set to false here.

After restarting the Activator pod, the cold start time is quickly as expect. However, after a period of time ( 2 hours or maybe 10 hours), podsAddressable is set to false again, leading to slower cold start times.

For example, we initiate a cold start every 10 minutes:

From 9:00 AM to 12:00 PM: Cold start times are consistently around 800ms. At 12:01 PM: rw.podsAddressable is set to false by the activator, causing cold start times to increase drastically (e.g., 2000ms, 5000ms, or even 10000ms).

kinderyj avatar Aug 21 '24 07:08 kinderyj