Expand description
Local-tier infrastructure primitives shared by cloud (sim/pond reconciler)
and yubaba (pond MinIO slot lifecycle).
Two concerns live here:
-
local_runtime— detect an orbstack/docker-desktop/colima/podman/ docker socket and drive appliance containers via the docker CLI. The docker-CLI driver was previouslycloud::local_runtime; yubaba grew a dep on it in R374-F3 when MinIO lifecycle moved into the pond workload-status surface. -
s3_sign— AWS Signature Version 4 helpers for S3-compatible object storage. Used by cloud’s Hetzner driver, the R2 publisher, and yubaba’s MinIO bucket-public bring-up.
The crate is intentionally backend-agnostic: no cloud-config types, no
yubaba-config types. Callers wire it in via small adapters in their own
crates (see cloud::local_container_spec_from_provider).
@yah:ticket(R374-F3, “Extracted from cloud crate so yubaba owns MinIO lifecycle without a yubaba→cloud dep”)
@yah:at(2026-06-28T20:35:37Z)
@yah:status(review)
@yah:parent(R374)
@arch:see(.yah/docs/working/W142-pond.md)
@yah:gotcha(“yubaba’s MinioReconciler probe runs every 5s; after 3 consecutive restart failures it marks the workload Failed and exits the loop. PondPhase Failed is terminal — operator restarts the camp daemon.”)
@yah:gotcha(“Camp passes Arc
Re-exports§
pub use local_runtime::canonical_label;pub use local_runtime::canonical_name;pub use local_runtime::pond_network_name;pub use local_runtime::ContainerLauncher;pub use local_runtime::ContainerRunSpec;pub use local_runtime::ContainerState;pub use local_runtime::CustomDockerHostProvider;pub use local_runtime::DetectedRuntime;pub use local_runtime::LocalContainerSpec;pub use local_runtime::LocalDockerRuntime;pub use local_runtime::LocalRuntime;pub use local_runtime::OwnedContainer;pub use local_runtime::RuntimePref;pub use local_runtime::RuntimeProvider;pub use local_runtime::SocketRuntimeProvider;pub use local_runtime::LABEL_KEY;pub use local_runtime::NAME_PREFIX;
Modules§
- cloudflared_
ingress - Rented public-ingress appliance —
cloudflaredunder kamaji (R594-F11 / W267). - local_
runtime - Local-container runtime: detect an orbstack/docker-desktop/colima/podman/docker
socket per
.yah/infra/providers/orbstack.toml, then drive appliance containers (miniflare, MinIO) for the pond mirror shape. - passway_
ingress - Passway public-ingress appliance bring-up primitives (R600-F5 / W273).
- pond_
miniflare - Pond miniflare container bring-up primitives (R374-F4 → R455-F1).
- pond_
minio - Pond MinIO bring-up primitives (R374-F3).
- pond_
ssr_ runtime - Pond SSR runtime container bring-up primitives (R434-F4).
- pond_
warden - Pond yubaba-container
ContainerRunSpecbuilder + permission model (R408-T2). - s3_sign
- AWS Signature Version 4 helpers for S3-compatible object storage.
Constants§
- POND_
PROBE_ HOST_ ENV - Env var overriding the host used to probe pond containers’ published
host ports. Unset (the host-side default) means
127.0.0.1.
Functions§
- pond_
probe_ host - Host used for probing pond containers’ published host ports — see
POND_PROBE_HOST_ENV.127.0.0.1unless the env var overrides it.