ktm agents maintenance
Use the ktm agents maintenance command to enable or disable maintenance mode and pause or resume test execution on an agent.
Toggle maintenance mode for an agent
Usage
ktm agents maintenance [flags]
Examples
ktm agents maintenance --agent phone-hub-01 --enable --confirm
ktm agents maintenance --agent phone-hub-01 --disable --confirm
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--agent | string | Agent hostname or UUID (required) | |
--confirm | boolean | Execute the toggle (without this, shows preview) | |
--disable | boolean | Disable maintenance mode | |
--enable | boolean | Enable maintenance mode |
Details
Stop or resume test execution on an agent.
--agent takes either identifier: the agent's hostname or its UUID. Maintenance applies to every agent type, so no --type is needed.
Related
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on