Documentation
¶
Overview ¶
Command fake-workersync stands in for atecontroller's WorkerPool controller and worker syncer in control-plane benchmarks. It honors every WorkerPool's spec.replicas with fake Workers that no pod backs, placed round robin on the nodes carrying --node-label. It writes each pool's status, so the scale subresource and `kubectl get workerpool` work, and deletes its Workers when it shuts down.
No capacity is reported for the fake Workers yet. ate-api-server registers each one ACTIVE with no capacity, which the scheduler treats as no room, so no actor can be placed on one and every resume fails with no_capacity, even though the pool's status counts the Worker ready.
atecontroller must not run alongside it: its WorkerPool controller would create real worker pods for the same pools, and its worker syncer deletes every Worker with no live pod.