Files
substrate/hack
Zoe Zhao 08cd74e2e0 Add kubectl ate CLI changes as well as counter demo in the new substrate resource (#1281)
* Added kubectl ate client changes for applying the counter demo.
* Added demo in both gVisor and microVM.
* Updated documentation.

Example output:

```
$ kubectl ate get actortemplates -a ate-demo-counter-substrate
ATESPACE                     NAME      SANDBOX CLASS          STATUS   AGE
ate-demo-counter-substrate   counter   SANDBOX_CLASS_GVISOR   Ready    43s

$ kubectl ate get actortemplate counter -a ate-demo-counter-substrate -o yaml
actorTemplates:
- containers:
  - command:
    - /ko-app/counter
    - --extra-port=9090
    - --tcp-port=9091
    image: gcr.io/zoezhao-gke-dev/ate-images/counter-7b2c368808ac33f45c7ab87955715526@sha256:9eb06b137bfd9f74f7ffa7c6052bb189a7b448801da81931a2124600a2622fa5
    name: counter
    readyz:
      httpGet:
        path: /readyz
        port: 80
    volumeMounts:
    - mountPath: /home/counter
      name: data
  metadata:
    atespace: ate-demo-counter-substrate
    createTime: "2026-08-28T02:09:45.981177255Z"
    name: counter
    uid: a8520ce2-f1f5-45d9-8d94-a436a72c5bf1
    updateTime: "2026-08-28T02:09:56.512455175Z"
    version: "3"
  resources:
    limits:
    - name: cpu
      quantity: "1"
    - name: memory
      quantity: 512Mi
  sandboxConfig:
    configName: gvisor-default
    sandboxClass: SANDBOX_CLASS_GVISOR
  snapshotsConfig:
    onCommit: SNAPSHOT_CONTENT_SCOPE_FULL
    onPause: SNAPSHOT_CONTENT_SCOPE_FULL
    storageLocation: gs://snapshot-substrate-test-zoezhao-gke-dev/ate-demo-counter-substrate/
  status:
    goldenSnapshotStatus:
      goldenSnapshot:
        atespace: ate-demo-counter-substrate
        name: 208d6f11-92e7-4ac0-9cab-74cd0b8a7992
      takeGoldenSnapshotAt: "2026-08-28T02:09:56.041417048Z"
  volumes:
  - durableDir: {}
    name: data
    type: DurableDir
  workerSelector:
    matchLabels:
      workload: counter-substrate
```

More testing log in gpaste/5520785792434176
2026-08-28 14:16:55 -04:00
..
2026-08-27 22:25:26 -04:00
…
2026-08-27 22:25:26 -04:00
…
…