CLI
Installing the SDK installs the surfra command.
| Command | What it does |
|---|---|
surfra worker |
Process the autoscaler starts in your image |
surfra login |
Opens a browser page and saves a session on this machine |
surfra runner register |
Opens a page to name this machine and save a runner id |
surfra runner start |
Heartbeat and run one app container |
surfra runner whoami |
Print the runner id, account, hardware, and busy app |
surfra runner install cpu |
Install Docker |
surfra runner install gpu |
Install Docker and the NVIDIA container toolkit |
entrypoint in App.deploy is your handler file, such as predict.py. It is not the worker command. The image’s command is surfra worker.
CMD ["surfra", "worker"]Credentials are named in the deploy call. See Apps and Your machines.
