Restate Server collects anonymized telemetry about versions and uptime via Scarf.
We don’t have access to your IP or any information about your cluster.
To disable, set DO_NOT_TRACK=1.
The UI is bundled with the Restate Server and available at http://localhost:9070 when running locally. Use the UI to manage, debug, and configure your applications.
The UI gives you the best experience when working with Restate.
(If using Docker, use http://host.docker.internal:9080)
restate deployments register localhost:9080
List deployments
restate deployments list
List invocations
restate invocation list
Cancel/kill a single or batch of invocations
# a single invocationrestate invocation cancel my_invocation_id# cancel all invocations of a service, object, or handlerrestate invocation cancel MyServicerestate invocation cancel MyService/myHandlerrestate invocation cancel MyObject/myObjectKeyrestate invocation cancel MyObject/myObjectKey/myHandler
Use restate invocation kill to force kill.
Clear the K/V state of a Virtual Object or Workflow
restatectl is a command-line tool for managing Restate clusters. It provides commands for cluster management, introspection, and debugging.This tool is specifically designed for system operators to manage Restate servers and is particularly useful in a cluster environment.
Homebrew
Download binaries
npm
Docker
Install with:
brew install restatedev/tap/restatectl
Then run:
restatectl --help
Install restatectl by downloading the binary with curl from the releases page, and make them executable:
BIN=$HOME/.local/bin && RESTATE_PLATFORM=x86_64-unknown-linux-musl && \curl -LO https://restate.gateway.scarf.sh/latest/restatectl-$RESTATE_PLATFORM.tar.xz && \tar -xvf restatectl-$RESTATE_PLATFORM.tar.xz --strip-components=1 restatectl-$RESTATE_PLATFORM/restatectl && \chmod +x restatectl && \# Move the binary to a directory in your PATH, for example ~/.local/bin:mv restatectl $BIN
BIN=$HOME/.local/bin && RESTATE_PLATFORM=aarch64-unknown-linux-musl && \curl -LO https://restate.gateway.scarf.sh/latest/restatectl-$RESTATE_PLATFORM.tar.xz && \tar -xvf restatectl-$RESTATE_PLATFORM.tar.xz --strip-components=1 restatectl-$RESTATE_PLATFORM/restatectl && \chmod +x restatectl && \# Move the binary to a directory in your PATH, for example ~/.local/bin:mv restatectl $BIN
BIN=/usr/local/bin && RESTATE_PLATFORM=x86_64-apple-darwin && \curl -LO https://restate.gateway.scarf.sh/latest/restatectl-$RESTATE_PLATFORM.tar.xz && \tar -xvf restatectl-$RESTATE_PLATFORM.tar.xz --strip-components=1 restatectl-$RESTATE_PLATFORM/restatectl && \chmod +x restatectl && \# Move the binary to a directory in your PATH, for example /usr/local/bin (needs sudo):sudo mv restatectl $BIN
BIN=/usr/local/bin && RESTATE_PLATFORM=aarch64-apple-darwin && \curl -LO https://restate.gateway.scarf.sh/latest/restatectl-$RESTATE_PLATFORM.tar.xz && \tar -xvf restatectl-$RESTATE_PLATFORM.tar.xz --strip-components=1 restatectl-$RESTATE_PLATFORM/restatectl && \chmod +x restatectl && \# Move the binary to a directory in your PATH, for example /usr/local/bin (needs sudo):sudo mv restatectl $BIN
The server image contains the restatectl tool. To run restatectl, use the following command:
docker run -it --network=host --entrypoint restatectl docker.restate.dev/restatedev/restate:latest nodes ls
You can also execute restatectl in a running server container using the following command:
docker exec restate_dev restatectl nodes ls
Replace restate_dev with the name of a running container, and nodes ls with the subcommand you want to run.
restatectl requires direct access to nodes via their advertised addresses (default port: 5122). Ensure that restatectl commands can reach these addresses.