Skip to content

E2E for ShardingController #4881

@qi-min

Description

@qi-min

Summary

ShardingController is a newly introduced component in volcano-controllers to support shard management and control. To ensure correctness and stability, we need to add end-to-end (E2E) test cases to validate shard control behavior and sharding accuracy under different sharding strategies.

The E2E tests should cover scenarios such as shard assignment, node resource boundary changes, controller reconciliation behavior under different strategies, and nodes distribution across shards. These tests will help verify that the ShardingController works as expected in real cluster environments and prevent regressions as new sharding strategies or features are introduced.

Scenarios

  1. Shards are created based on default configuration after controller startup if Shards do not exist
  2. Nodes are assigned from one shard to another shard when resource usage of node significantly changed
  3. Newly created Nodes are added to shard
  4. Removed or unschedulable nodes are moved out from shard
  5. Configuration change trigger nodes re-assigned to different
  6. Node re-assignment keep nodes as stable as possible in each shard

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions