Knative Scale-to-Zero와 콜드 스타트 시퀀스

Knative Scale-to-Zero와 콜드 스타트 시퀀스 A sequence diagram generated by Archify. Scale to 0 (grace period 후 파드 종료) stable-window(60s) 동안 메트릭 0 감지 → grace period 후 종료 Activator를 목적지로 설정 HTTP 요청 요청 전달 (파드 없음) 스케일업 요청 Activator는 요청을 버퍼링 Scale to 1 (파드 생성) 컨테이너 시작 + Ready 버퍼링된 요청 전달 응답 반환 다음 요청 직접 전달 (Activator 우회) Scale-to-Zero — stable-window(60s) 동안 요청 0 (유휴) 콜드 스타트 — 새 요청 발생 이후 요청은 직접 전달 클라이언트 · Sequence participant 클라이언트 Gateway · Kourier · Sequence participant Gateway Kourier Activator · Sequence participant Activator Autoscaler · Sequence participant Autoscaler Pod · Queue Proxy + App · Sequence participant Pod Queue Proxy + App Legend 핵심 호출 응답 일반 호출