Skip to main content

Synopsis

dorgu sync <subcommand> [flags]
Query the Dorgu Operator for current sync state and pull the latest persona data. Unlike watch, which streams continuously, sync performs one-shot queries and returns. All subcommands require the Dorgu Operator to be running with WebSocket support enabled (websocket.enabled=true in the Helm values).

Subcommands

sync status

dorgu sync status
Connect to the operator and display the current sync health. Shows whether the operator is reachable, the number of personas being managed, and any active reconciliation issues. No additional flags beyond the common flags.

sync pull

dorgu sync pull [flags]
Pull the latest persona data from the operator. Retrieves the current state of ApplicationPersona resources and displays them locally. Optionally filter by namespace.
FlagTypeDefaultDescription
-n, --namespacestringFilter pulled personas to a specific namespace

Common flags

These flags apply to all sync subcommands:
FlagTypeDefaultDescription
--operator-urlstringws://localhost:9090/wsWebSocket URL of the Dorgu Operator
The sync command requires the Dorgu Operator to be running with websocket.enabled=true in the Helm values. If the operator is not reachable or WebSocket support is disabled, the command will fail to connect.

Examples

Check sync health:
dorgu sync status
Pull all personas:
dorgu sync pull
Pull personas from a specific namespace:
dorgu sync pull --namespace production
Use a custom operator URL:
dorgu sync status --operator-url ws://operator.dorgu.svc:9090/ws