Skip to content

Pod status not synced in kwok-based cluster #429

@Park-Jiyeonn

Description

@Park-Jiyeonn

What happened

When syncing Pods from a real cluster (Cluster A) to a kwok-based simulator cluster (Cluster B), the status of the Pods is not patched. This causes completed Pods (e.g., Succeeded or Failed) to remain in Running state in the simulator.

What you expected to happen

The kwok-based simulator cluster should reflect the actual status.phase of Pods from the source cluster, including terminal states like Succeeded or Failed.

How to reproduce it

  1. Create a Pod in Cluster A.
  2. Let it complete (Succeeded or Failed).
  3. Sync it to Cluster B using the kube-scheduler-simulator.
  4. Observe that in Cluster B, the Pod remains in Running state.

Anything else we need to know?

/sig scheduling
/area simulator
/kind bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/simulatorIssues or PRs related to the simulator.kind/bugCategorizes issue or PR as related to a bug.sig/schedulingCategorizes an issue or PR as relevant to SIG Scheduling.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions