Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pkg/reconciler/autoscaling/kpa/kpa.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ func (c *Reconciler) ReconcileKind(ctx context.Context, pa *autoscalingv1alpha1.
pa.Status.ServiceName = sks.Status.ServiceName

// If SKS is not ready — ensure we're not becoming ready.
if sks.IsReady() {
// Do not use ServerlessService.IsReady() here because this flips to not ready when the generation changes.
if sks.Status.GetCondition(nv1alpha1.ServerlessServiceConditionReady).IsTrue() {
logger.Debug("SKS is ready, marking SKS status ready")
pa.Status.MarkSKSReady()
} else {
Expand Down