Skip to content

About

Kubernetes operator that autoscales LLM inference workloads on LLM-specific signals — KV-cache utilization, queue depth, TPM — rather than CPU and memory

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

llmscaleoperator

publish version image docker hub Image Size chart go license stars

A Kubernetes operator that autoscales LLM inference workloads (e.g. vLLM) on LLM-specific signals — KV-cache utilization, queue depth, TPM/capacity load — rather than CPU/memory. Think of it as an HPA specialized for token-serving.

arch

Images and releases

The image is 4pdosc/llm-operator on Docker Hub, the default everywhere in this repo. Tagging vX.Y.Z publishes it through .github/workflows/release.yml.

The release workflow refuses a tag that does not match appVersion in dist/chart/Chart.yaml. The chart leaves manager.image.tag empty so it follows appVersion; a tag that disagrees would publish one build and install another.

To run your own build instead of the public image:

# Helm
helm install llmscaleoperator ./dist/chart \
  --set manager.image.repository=<registry>/llm-operator

# Makefile targets
make deploy IMG=<registry>/llm-operator:<tag>

The Dockerfile's two base images are build args, defaulting to the public golang and gcr.io/distroless/static. Point them at a mirror where those registries are unreachable:

docker build \
  --build-arg GO_IMAGE=<mirror>/golang:1.26 \
  --build-arg RUNTIME_IMAGE=<mirror>/distroless-static:nonroot .

Description

The operator introduces two CRDs.

  • LLMService (serving.modelsphere.dev) installs one Helm release per service; see LLMService.
  • LLMScaler (autoscaling.modelsphere.dev) points at a scalable workload and drives its replica count from a metrics source; see LLMScaler.

About

Kubernetes operator that autoscales LLM inference workloads on LLM-specific signals — KV-cache utilization, queue depth, TPM — rather than CPU and memory

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages