fake-workersync

command
v1.0.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: Apache-2.0 Imports: 47 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 that run a fake-atelet pod, and has each Worker's capacity reported through the fake-atelet on its node, as worker reports through atelet. It writes each pool's status, so the scale subresource and `kubectl get workerpool` work. It leaves its Workers registered when it shuts down and adopts them when it starts, so a restart keeps every Actor placed; a deleted pool's Workers are retired while it runs.

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