7 lines
422 B
Bash
7 lines
422 B
Bash
#!/bin/bash
|
|
|
|
nats pub --count 1 admin.apps.node-x.requests -w '{"type": "list"}'
|
|
nats pub --count 1 admin.apps.node-x.requests -w '{"type": "get", "app_name": "test_1234"}'
|
|
|
|
nats pub --count 1 admin.apps.node-x.requests -w '{"type": "create", "app_name": "natstest_0004", "payload": {"name": "natstest_0004", "image": "docker.io/rosti/runtime:2020.09-1", "cpu": 50, "memory": 256, "ssh_port": 20004, "http_port": 30004}}'
|