mirror of
https://github.com/agent-substrate/substrate.git
synced 2026-10-02 03:24:42 +08:00
This PR moves sandbox config selection from the WorkerPool to the ActorTemplate. The existing behavior is preserved while we are designing the upgrade: sandbox config still cannot be updated once set (ActorTemplates are create-only and `sandbox_config` is immutable). For now the ActorTemplate still *requires* `sandbox_config.config_name` — there is no resolution of the cluster default (`spec.default`). This is temporary while we figure out the defaulting design. - [ ] Tests pass - [x] Appropriate changes to documentation are included in the PR
37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
# 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.
|
|
|
|
# Worker pool for the manual micro-VM CSI test. The ActorTemplate lives in
|
|
# counter-microvm-csi-test-template.yaml and is created through the ate API
|
|
# with `kubectl ate create actor-template`.
|
|
|
|
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: ate-demo-counter-microvm-csi
|
|
|
|
---
|
|
|
|
apiVersion: ate.dev/v1alpha1
|
|
kind: WorkerPool
|
|
metadata:
|
|
name: counter-microvm-csi
|
|
namespace: ate-demo-counter-microvm-csi
|
|
labels:
|
|
workload: counter-microvm-csi
|
|
spec:
|
|
replicas: 1
|
|
sandboxClass: microvm
|
|
workerImage: ko://github.com/agent-substrate/substrate/cmd/ateom-microvm
|