Skip to content

Potential race condition in PodAutoscaler creation #16036

@nader-ziada

Description

@nader-ziada

/area API

What version of Knative?

v1.18.1

Actual Behavior

When the revision reconciler creates a PodAutoscaler (PA), it doesn't initialize the status conditions. In some cases, this creates a race condition where both the revision controller and autoscaler controller attempt to update the PA's uninitialized conditions simultaneously, potentially making the revision stuck in Deploying state.

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions