Update README.md and scripts to adopt atespaces for existing demos.#355
Conversation
2981451 to
6cc63aa
Compare
|
|
||
| // 1. Identify Actor (Robust extraction) | ||
| // New architecture uses Host: <actor-id>.actors.resources.substrate.k8s.io | ||
| // New architecture uses Host: <actor-id>.<atespace>.actors.resources.substrate.ate.dev |
There was a problem hiding this comment.
What does "New Architecture" means here? Maybe reword it?
There was a problem hiding this comment.
It's meaningless to add it here, removed.
| kubectl ate delete actor my-counter-1 | ||
| kubectl ate delete actor my-counter-1 -a demo | ||
| ``` | ||
|
|
There was a problem hiding this comment.
Should we also delete the namespace here? Same for other demos.
There was a problem hiding this comment.
Yes, added to all demo README.md here.
|
|
||
| ### Workload Connectivity (Uniform DNS) | ||
| Substrate has standardized on a **Uniform DNS Mesh**. You no longer need to define `SessionDiscovery` rules. Every actor created from a template is automatically reachable through the **Substrate Router** via its unique ID: | ||
| Substrate has standardized on a **Uniform DNS Mesh**. You no longer need to define `SessionDiscovery` rules. Every actor created from a template is automatically reachable through the **Substrate Router** via its atespace and ID: |
There was a problem hiding this comment.
Remove the "You no longer need to define SessionDiscovery rules."? Seems like an old artifact.
There was a problem hiding this comment.
This file (and the _grpc) companion are auto-generated, we should change the documentation in ateapi.go and then regenerate files.
6cc63aa to
2e67c60
Compare
|
|
||
| ### 1. Basic Interaction | ||
| Create a single actor and watch it automatically yield compute after use: | ||
| Actors live in an **atespace** (the Substrate namespace an actor lives in), which must exist first. Create one, then create a single actor and watch it automatically yield compute after use: |
There was a problem hiding this comment.
Actors live in an atespace (the Substrate namespace an actor lives in)
Nit: this sounds a bit redundant. Maybe reword it or just remove the text in between parenthesis?
| ### 2. Create a Counter Actor | ||
|
|
||
| Use `kubectl ate` to create an instance of the counter actor with a chosen ID (e.g., `my-counter-1`): | ||
| Actors live in an **atespace** (the Substrate namespace an actor lives in), which must exist before you create actors in it. Create one (e.g., `demo`), then create the counter actor with a chosen ID (e.g., `my-counter-1`): |
There was a problem hiding this comment.
Same comment here and other README files.
There was a problem hiding this comment.
Updated all to remove text in between parenthesis
2e67c60 to
6e515af
Compare
7f87f0c
into
agent-substrate:main
Update README.md and scripts to adopt atespaces for existing demos.
It's intentional to let user choose atespace in demos since actors are also created by them.