dflow apps:deploy
Record a desired image. The default wait polls until the operation is succeeded.
dflow apps:deploy APP --image IMAGE [--port N] [--replicas N]Flags
--image required. --port optional. --replicas optional. --wait and --wait-timeout. Globals.
What you see
The terminal prints aligned labels id and status. On a terminal, succeeded is green and pending is yellow. Exit 0 when succeeded, and 0 for --wait=false.
When it fails
A missing --image exits 1 before a request. --wait-timeout below 1s or above 30m exits 1. The API rejects a bad image, a port outside 1 to 65535, and replicas outside 1 to 5. Exit 1: validation. Exit 2: auth. Exit 3: not found. Exit 4: conflict. Exit 5: operation failed or cancelled. Exit 6 when the operation error code is precondition or rate_limited. Exit 7: wait ended first. Exit 10: unreachable.
How is this guide?
Last updated on