Command 'wait-for'

Summary

Wait for an entity to reach a specified state.

Usage

juju wait-for [options] <command> ...

Options

Flag Default Usage
--description false Show short description of plugin, if any
--h, --help false Show help on a command or other topic.

Details

Waits for a specified model, machine, application or unit to reach a state defined by the supplied query.

Examples: juju wait-for unit mysql/0 juju wait-for application mysql --query=‘name==“mysql” && (status==“active” || status==“idle”)’

commands: application - Wait for an application to reach a specified state. documentation - Generate the documentation for all commands help - Show help on a command or other topic. machine - Wait for a machine to reach a specified state. model - Wait for a model to reach a specified state. unit - Wait for a unit to reach a specified state.