mirror of
https://github.com/agent-substrate/substrate.git
synced 2026-10-02 03:24:42 +08:00
related to -> #1378 - [x] Tests pass - [x] Appropriate changes to documentation are included in the PR
50 lines
1.8 KiB
Cheetah
50 lines
1.8 KiB
Cheetah
# Copyright 2026 Google LLC
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# ActorTemplate (protojson-shaped ateapipb.ActorTemplate) for the luna agent
|
|
# of the claude-code-multiplex demo; one of three agents sharing the 2-pod
|
|
# pool in claude-code-multiplex.yaml.tmpl. Applied with
|
|
# `kubectl ate create actor-template -f -`; the claude-multiplex-demo
|
|
# atespace must exist.
|
|
#
|
|
# ANTHROPIC_API_KEY is substituted into the container env as a plain value
|
|
# at apply time. WORKLOAD_IMAGE is the resolved sha256-digest reference for
|
|
# the claude-multiplex-demo-workload image — built and pushed to
|
|
# ${KO_DOCKER_REPO} by the deploy step, substituted at apply time.
|
|
metadata:
|
|
atespace: claude-multiplex-demo
|
|
name: agent-luna
|
|
workerSelector:
|
|
matchLabels:
|
|
workload: claude-multiplex
|
|
containers:
|
|
- name: claude
|
|
image: ${WORKLOAD_IMAGE}
|
|
env:
|
|
- name: ACTOR_NAME
|
|
value: "luna"
|
|
- name: TASK
|
|
value: "Tell me one short, surprising fact about the Moon. One sentence."
|
|
- name: INTERVAL_SECONDS
|
|
value: "45"
|
|
- name: ANTHROPIC_API_KEY
|
|
value: "${ANTHROPIC_API_KEY}"
|
|
snapshotConfig:
|
|
onPause: SNAPSHOT_CONTENT_SCOPE_FULL
|
|
onCommit: SNAPSHOT_CONTENT_SCOPE_FULL
|
|
storageLocation: gs://${BUCKET_NAME}/claude-multiplex-demo/
|
|
sandboxConfig:
|
|
sandboxClass: SANDBOX_CLASS_GVISOR
|
|
configName: gvisor-default
|