Deploy

The hanzo deploy commands.

Also for this capability: API · CLI · MCP · SDKs

Hanzo CD: see what each app is running, sync it, and roll back a bad release.

API reference →

hanzo deploy applications list

Every command takes --json for the raw response and --help for its own flags. Sign in once with hanzo auth login; the commands below use that session, and the org they act in is the one it carries.

CommandWhat it does
hanzo deploy clustersReturns the argocd ClusterList of the destinations the caller's applications reconcile into: one entry per distinct destination server, carrying the count of applications reconciling into it.
hanzo deploy healthReports whether this deployment can observe the delivery plane.
hanzo deploy loginStart the sign-in round trip for this console
hanzo deploy logoutEnds the console session on this host.
hanzo deploy projectsReturns the argocd AppProjectList this console groups and filters applications by.

Applications

CommandWhat it does
hanzo deploy applications get <name>Returns ONE projected argocd Application by name, with status.resources filled in from its reconciled resource tree — which is what makes it the detail view rather than a row of the list.
hanzo deploy applications listReturns the fleet as an argocd ApplicationList: one projected Application per operator App CR, carrying the image tag the CR DECLARES, the tag actually RUNNING in the cluster's Deployment, the reconciled health, and the sync verdict those two produce (declared == running ⇒ Synced, both known and different ⇒ OutOfSync, either unknown ⇒ Unknown).
hanzo deploy applications resource-tree <name>Returns one application's argocd ApplicationTree: the objects the operator reconciled from its App CR, reached by ownerRef — the Deployment and, under it, the ReplicaSet and Pods, plus the Service, Ingress, HorizontalPodAutoscaler, PodDisruptionBudget and ConfigMaps it owns — each node carrying its parent edges and its health.
hanzo deploy applications revisions metadata <name> <revision>Returns the argocd RevisionMetadata for one revision of one application — what the detail view shows beside a revision.
hanzo deploy applications rollback <name>Serves the console's rollback control, and today it requests a reconcile and nothing more.
hanzo deploy applications syncwindows <name>Returns one application's argocd ApplicationSyncWindowState — the answer to "is anything blocking a sync of this application right now?".

Session

CommandWhat it does
hanzo deploy session userinfoAnswers "is this browser signed in, and if not where does it sign in?" — the dashboard SPA's bootstrap question, and the only route on this plane that answers for an anonymous caller.

Stream

CommandWhat it does
hanzo deploy stream applications listLive application fleet updates as Server-Sent Events
hanzo deploy stream applications resource-tree <name>Live resource tree for one application, as Server-Sent Events
Was this page useful?