ate-setup

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: 1 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.

README

ate-setup

Installs and tears down Agent Substrate on a Kubernetes cluster.

go run ./cmd/ate-setup [global flags] <command> [flags]
go build -o bin/ate-setup ./cmd/ate-setup

Installing pre-built images

By default every image is built from the checkout with ko, which is what a developer wants and what the shell installer always did. To install images that are already published instead, name the registry that holds them and the tag they share:

ate-setup deploy ate-system \
  --storage-bucket-name=BUCKET \
  --credential-provider='{"name":"k8s.io"}' \
  --ingress-allowed-spiffe-ids=IDS \
  --image-repo registry.example.com/substrate \
  --image-tag vX.Y.Z

On GKE, the default --sandbox-classes=gvisor,microvm downloads microVM guest assets from GitHub and uploads them with gcloud to gs://<BUCKET>-assets (created with atelet read access by tools/setup-gcp create bucket and create iam in substrate-gke). Pass --sandbox-classes=gvisor to skip microVM staging.

The registry has to hold every image the install deploys. The images a release publishes to ghcr.io/agent-substrate/substrate leave out the demos and the benchmarking fakes; see docs/dev/releasing.md. An install that needs an image the registry lacks fails naming it.

Nothing is built and no registry is pushed to; the manifests still come from the checkout, which should be the tag being installed. Each reference is pinned to the digest its tag names, so the registry has to be readable from here as well as from the cluster.

  • commands.md — every command, and the common global flags.
  • differences.md — where the Go port deliberately behaves differently from the shell scripts it replaced, and what was reproduced exactly.

Documentation

Overview

Command ate-setup installs and tears down Agent Substrate on a Kubernetes cluster. See cmd/ate-setup/commands.md for its commands.

Directories

Path Synopsis
internal
cmd
Package cmd implements the ate-setup command tree.
Package cmd implements the ate-setup command tree.
config
Package config resolves the environment ate-setup installs into.
Package config resolves the environment ate-setup installs into.
demos
Package demos holds the contract every bundled demo implements, the registry the command tree is built from, and the shared behavior of a demo that is one manifest template.
Package demos holds the contract every bundled demo implements, the registry the command tree is built from, and the shared behavior of a demo that is one manifest template.
demos/all
Package all links every bundled demo into the binary.
Package all links every bundled demo into the binary.
demos/claudemultiplex
Package claudemultiplex installs the claude-code-multiplex demo, which runs several Claude Code agents side by side on one WorkerPool.
Package claudemultiplex installs the claude-code-multiplex demo, which runs several Claude Code agents side by side on one WorkerPool.
demos/counter
Package counter installs the counter demo: a counter actor exercising snapshot, resume, and atenet ingress, optionally with an external volume attached so the CSI path is covered end to end.
Package counter installs the counter demo: a counter actor exercising snapshot, resume, and atenet ingress, optionally with an external volume attached so the CSI path is covered end to end.
demos/countermicrovm
Package countermicrovm installs the micro-VM variant of the counter demo.
Package countermicrovm installs the micro-VM variant of the counter demo.
demos/demotest
Package demotest provides the fixtures the demo packages share in their tests: an Env that needs no cluster, and the assertion that a rendered template is a complete manifest.
Package demotest provides the fixtures the demo packages share in their tests: an Env that needs no cluster, and the assertion that a rendered template is a complete manifest.
demos/egress
Package egress installs the egress demo, which exercises egress policy enforcement through atenet.
Package egress installs the egress demo, which exercises egress policy enforcement through atenet.
demos/egressmicrovm
Package egressmicrovm installs the micro-VM variant of the egress demo.
Package egressmicrovm installs the micro-VM variant of the egress demo.
demos/jupyter
Package jupyter installs the Jupyter demo, which runs an unmodified quay.io/jupyter/base-notebook image as an actor that checkpoints on suspend and resumes when the notebook is next opened.
Package jupyter installs the Jupyter demo, which runs an unmodified quay.io/jupyter/base-notebook image as an actor that checkpoints on suspend and resumes when the notebook is next opened.
demos/multitemplate
Package multitemplate installs the multi-template demo, where two ActorTemplates in two different atespaces share a single WorkerPool.
Package multitemplate installs the multi-template demo, where two ActorTemplates in two different atespaces share a single WorkerPool.
demos/parking
Package parking installs the parking demo, which parks and unparks actors on a small WorkerPool.
Package parking installs the parking demo, which parks and unparks actors on a small WorkerPool.
demos/sandbox
Package sandbox installs the sandbox demo: an ActorTemplate driven on demand by the sandbox client rather than by a long-lived workload.
Package sandbox installs the sandbox demo: an ActorTemplate driven on demand by the sandbox client rather than by a long-lived workload.
images
Package images decides where ate-setup gets container images from.
Package images decides where ate-setup gets container images from.
ko
Package ko builds and publishes images referenced by manifests, replacing the run_ko helper in the shell installer.
Package ko builds and publishes images referenced by manifests, replacing the run_ko helper in the shell installer.
kube
Package kube provides the cluster operations ate-setup needs, replacing the kubectl invocations the install shell scripts made.
Package kube provides the cluster operations ate-setup needs, replacing the kubectl invocations the install shell scripts made.
kustomize
Package kustomize renders the overlays under manifests/ate-install, standing in for `kubectl kustomize <dir> --load-restrictor LoadRestrictionsNone`.
Package kustomize renders the overlays under manifests/ate-install, standing in for `kubectl kustomize <dir> --load-restrictor LoadRestrictionsNone`.
log
Package log prints install progress, preserving the "[step]: name" output the shell scripts produced so existing CI log scrapers keep working.
Package log prints install progress, preserving the "[step]: name" output the shell scripts produced so existing CI log scrapers keep working.
render
Package render expands the demos' *.yaml.tmpl files.
Package render expands the demos' *.yaml.tmpl files.
steps
Package steps holds the install and teardown operations that the shell installer implemented as bash functions.
Package steps holds the install and teardown operations that the shell installer implemented as bash functions.

Jump to

Keyboard shortcuts

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