Restart, redeploy or remove app instances
flux_control_appRestart, redeploy, or remove containerized apps on a decentralized cloud across one node or all nodes; use owner key and cancel after removal to stop paying.
Instructions
restart: restarts containers. redeploy: pulls the image again and recreates containers (hard=true also wipes data). remove: uninstalls from nodes; the registration stays and the network re-spawns it elsewhere, so use flux_cancel_app to stop paying. Scope is one node (nodeIp) or every node running the app (global). Requires the owner key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hard | No | For redeploy: also delete the app data. | |
| name | Yes | ||
| scope | No | global | |
| action | Yes | ||
| nodeIp | No | Required for scope=node; also the node the global command is sent through. |