Plan Force-Complete

Force complete a specific step in the provided phase. Example uses include the following: Abort a sidecar operation due to observed failure or known required manual preparation that was not performed.

$ dcos kubernetes manager plan force-complete <plan> <phase> <step>

Manager Pod

Pod List

Display the list of known pod instances:

$ dcos kubernetes manager pod list

Pod Status

Display the status for tasks in one pod or all pods:

$ dcos kubernetes manager pod status [<flags>] [<pod>]

Pod Info

Display the full state information for tasks in a pod:

$ dcos kubernetes manager pod info <pod>

Pod Restart

Restarts a given pod without moving it to a new agent:

$ dcos kubernetes manager pod restart <pod>

Pod Replace

Replace should be used only when the current instance of the pod should be completely destroyed. All persistent data (read: volumes) of the pod will be destroyed. Replace should be used when a DC/OS agent is being removed, is permanently down, or pod placement constraints need to be updated.
Destroys a given pod and moves it to a new agent:

$ dcos kubernetes manager pod replace <pod>

Manager Update

Update Start

Launches an update operation:

$ dcos kubernetes manager update start [<flags>]

Update Force-Complete

Force complete a specific step in the provided phase:

$ dcos kubernetes manager update force-complete <phase> <step>

Update Force-Restart

Restart update plan, or specific step in the provided phase:

$ dcos kubernetes manager update force-restart [<phase> [<step>]]

Update Package-Version

View a list of available package versions to downgrade or upgrade to:

$ dcos kubernetes manager update package-versions

Update Pause

Pause update plan:

$ dcos kubernetes manager update pause

Update Resume

Resume update plan:

$ dcos kubernetes manager update resume

Update Status

View status of a running update:

$ dcos kubernetes manager update status [<flags>]

Manager Debug

Debug Config

List IDs of all available configurations:

$ dcos kubernetes manager debug config list

Display a specified configuration:

$ dcos kubernetes manager debug config show <config_id>

Display the target configuration:

$ dcos kubernetes manager debug config target

List ID of the target configuration:

$ dcos kubernetes manager debug config target_id

Debug Pod

Pauses a pod’s tasks for debugging:

$ dcos kubernetes manager debug pod pause [<flags>] <pod>

Resumes a pod’s normal execution following a pause command:

$ dcos kubernetes manager debug pod resume [<flags>] <pod>

Debug State

Display the Mesos framework ID:

$ dcos kubernetes manager debug state framework_id

List names of all custom properties:

$ dcos kubernetes manager debug state properties

Display the content of a specified property:

$ dcos kubernetes manager debug state property <name>

Refresh the state cache, used for debugging:

$ dcos kubernetes manager debug state refresh_cache

Cluster Commands

The cluster sub-command itself represents a list of actions that can be made against a cluster, existing or otherwise (such as the case of create).