NATS¶
NATS is a high-performance messaging system, running as a container node.
Base Image¶
Container images are pulled from Docker Hub.
Import Image¶
sherpa server image pull \
--model nats_bus \
--repo nats:<tag> \
--default
An image already pulled with the docker CLI is not known to Sherpa until it is scanned. The
scan records each local tag of nats as a version:
docker pull nats:2.11
sherpa server image scan --kind container
Default Node Parameters¶
| Property | Value |
|---|---|
| Kind | Container |
| CPU | Not limited |
| RAM | Not limited |
| ZTP | disabled |
| Management Interface | eth0 |
| Data Interfaces | eth1+ |
| Interface Driver | macvlan |
Example Manifest¶
name = "nats-lab"
[[nodes]]
name = "nats01"
model = "nats_bus"
version = "2.10"
Node Access¶
sherpa ssh <node-name>
docker exec -it <node-name>-<lab-id> sh
Notes¶
- Approximate time for the system to be ready:
30 seconds