Move from diagrid to dod
The Dapr Ops Dashboard commands are moving from the diagrid CLI to their own CLI, dod. The Dapr Ops Dashboard was formerly called Conductor.
The Dapr Ops Dashboard commands in diagrid are deprecated and are removed in the next major version of diagrid. Move your scripts to dod before you upgrade to it.
What changes
- Install
dod. See Install the Dapr Ops Dashboard CLI. - Replace
diagridwithdod. Each command keeps its name, arguments, flags and output. Only the name of the CLI changes. - Drop
diagrid product use conductor.dodalways acts on the Dapr Ops Dashboard, so it has noproductcommand. - Sign-in is shared.
dodanddiagriduse the same sign-in, stored in~/.diagrid. If you're signed in withdiagrid login,doduses that session, anddod loginsignsdiagridin too. An API key set with--api-keyor theDIAGRID_API_KEYenvironment variable works the same way in both.
For example, a script that connected a cluster with diagrid:
- diagrid product use conductor
- diagrid clusters connect --name mycluster --install-dapr --profile dev --manifests | kubectl apply -f -
+ dod clusters connect --name mycluster --install-dapr --profile dev --manifests | kubectl apply -f -
Command mapping
Every Dapr Ops Dashboard command in diagrid and the dod command that replaces it. The hidden diagrid conductor <command> form of each command maps to the same dod command.
diagrid command | dod command |
|---|---|
diagrid advisories list <cluster-id> | dod advisories list <cluster-id> |
diagrid advisories dismiss <cluster-id> | dod advisories dismiss <cluster-id> |
diagrid clusters connect | dod clusters connect |
diagrid clusters list | dod clusters list |
diagrid clusters get <cluster-id> | dod clusters get <cluster-id> |
diagrid clusters update <cluster-id> | dod clusters update <cluster-id> |
diagrid clusters delete <cluster-id> | dod clusters delete <cluster-id> |
diagrid clusters manifests <cluster-id> | dod clusters manifests <cluster-id> |
diagrid clusters helmvalues <cluster-id> | dod clusters helmvalues <cluster-id> |
diagrid clusters helmvaluesdapr <cluster-id> | dod clusters helmvaluesdapr <cluster-id> |
diagrid clusters dapr install <cluster-id> | dod clusters dapr install <cluster-id> |
diagrid clusters dapr update <cluster-id> | dod clusters dapr update <cluster-id> |
diagrid diagnose | dod diagnose |
diagrid metrics cluster <cluster-id> | dod metrics cluster <cluster-id> |
diagrid metrics app <cluster-id> <app-id> | dod metrics app <cluster-id> <app-id> |
diagrid operator manifests | dod operator manifests |
diagrid product use conductor | Not needed |
The aliases carry over: dod advisor and dod cluster work as diagrid advisor and diagrid cluster did.
dod also has login, logout, whoami and version, which work as they do in diagrid. For the full list, see the dod command reference.
Commands that stay in diagrid
These commands manage your Diagrid account rather than the Dapr Ops Dashboard, so they stay in diagrid and aren't deprecated:
diagrid org: list and switch organizationsdiagrid user: manage the users in your organizationdiagrid apikey: manage API keysdiagrid auth: print access and identity tokensdiagrid web,diagrid docsanddiagrid update