fake-workersync

command
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 31 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL