You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/substrate-openclaw/README.md
+24-25Lines changed: 24 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,30 +1,31 @@
1
-
# kagent agents and agentharness on substrate
2
-
3
-
Follow these instructions to install substrate on a kind cluster. This feature allows you to run AgentHarness (OpenClaw) and declerative Go agents in substrate.
1
+
# kagent agents and AgentHarness on Substrate
4
2
3
+
Follow these instructions to install Substrate on a kind cluster. This feature allows you to run AgentHarness (OpenClaw) and declarative Go SandboxAgents on Agent Substrate.
5
4
6
5
## 1. Install Substrate on your Kind cluster
7
6
8
-
This assumes you've configured kind cluster using `make create-kind-cluster`.
7
+
This assumes you've configured a kind cluster using `make create-kind-cluster`.
- controller default `workerPool` name set to that pool when `create=true`
45
+
46
+
**Zero-downtime rollouts:** SandboxAgent config and image rollouts retain the previous `ActorTemplate` until the new golden is Ready (blue-green). Use `substrateWorkerPool.replicas: 2` or higher so a spare worker can build the new golden while the current one keeps serving chat.
40
47
41
-
kagent generates a per-harness `ActorTemplate` and uses an existing `WorkerPool`.
48
+
## 2. AgentHarness with Substrate runtime
42
49
43
-
The generated `ActorTemplate` uses `controller.substrate.pauseImage`, `controller.substrate.runscAMD64URL`, `controller.substrate.runscAMD64SHA256`, `controller.substrate.runscARM64URL`, and `controller.substrate.runscARM64SHA256` from the Helm values Override them with `--set` or a values file when you need to pin a different gVisor build.
50
+
kagent generates a per-harness `ActorTemplate`and schedules actors onto an existing `WorkerPool`.
44
51
45
52
Create a harness. If `snapshotsConfig` is omitted, kagent defaults it to `gs://ate-snapshots/<namespace>/<agentharnessname>`.
46
53
47
-
-**Worker pool** — reference an existing pool (`workerPoolRef`) or configure a controller default WorkerPool
54
+
-**Worker pool** — reference an existing pool (`workerPoolRef`) or configure a controller default WorkerPool. The target pool must carry label `kagent.dev/worker-pool: <pool-name>`. The kagent Helm-managed pool gets this label automatically; externally owned pools must add it manually.
// Function initially copied from https://github.com/open-telemetry/opentelemetry-operator/blob/e6d96f006f05cff0bc3808da1af69b6b636fbe88/internal/controllers/common.go#L141-L192
0 commit comments