CLI reference: sparkwing operator

CLI reference: sparkwing operator

Every sparkwing operator command, flag, and argument, generated from the CLI's own command registry. All command groups are indexed in cli-reference.md.

sparkwing operatorSection anchor link

Manage deployment operations

SubcommandsSection anchor link

  • teams -- Create teams under operator authority
  • warm-capacity -- Manage warm Cloud capacity per hardware class
  • limits -- Manage deployment operational ceilings
  • object-store -- Operate the controller's object-store request budget
  • secrets -- Maintain the controller's sealed values
  • tokens -- Manage deployment service credentials

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.

sparkwing operator limitsSection anchor link

Manage deployment operational ceilings

SubcommandsSection anchor link

  • set -- Set a deployment operational ceiling
  • show -- Print every compute guard and visible runner usage

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.

sparkwing operator limits setSection anchor link

Set a deployment operational ceiling

Operational ceilings and signup settings only; values above ceilings are refused, never silently clamped.

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.
--setting GUARDName of the operational guard to change, as operator limits show lists it. (required)
--value NNew value for the guard as a nonnegative integer; a value above the deployment's ceiling is refused, not clamped. (required)
--profile NAMEController connection profile from your config. Optional profiles use the saved default, then local; --profile= selects local.

sparkwing operator limits showSection anchor link

Print every compute guard and visible runner usage

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.
--profile NAMEController connection profile from your config. Optional profiles use the saved default, then local; --profile= selects local.

sparkwing operator object-storeSection anchor link

Operate the controller's object-store request budget

SubcommandsSection anchor link

  • reset-breaker -- Clear a tripped object-store budget or ceiling freeze
  • status -- Show the controller's object-store request budget

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.

sparkwing operator object-store reset-breakerSection anchor link

Clear a tripped object-store budget or ceiling freeze

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.
--profile NAMEController connection profile from your config. Optional profiles use the saved default, then local; --profile= selects local.

sparkwing operator object-store statusSection anchor link

Show the controller's object-store request budget

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.
--profile NAMEController connection profile from your config. Optional profiles use the saved default, then local; --profile= selects local.

sparkwing operator secretsSection anchor link

Maintain the controller's sealed values

SubcommandsSection anchor link

  • rotate -- Reseal every stored secret and key under the current key

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.

sparkwing operator secrets rotateSection anchor link

Reseal every stored secret and key under the current key

Reseal every team's secrets, git credentials and submitted run environments, and the session signing key, under the controller's current key. Run it after the previous key is mounted beside the new one; remove the previous key only when nothing is reported unreadable.

Repeats safely. JSON retains the counts, previous_key_only and each unreadable row's purpose, team and name; values never appear.

--verify writes nothing and counts the rows that still open only under the previous key; retire the previous key when it reports zero and nothing unreadable.

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.
--verifyChange nothing and count the rows that still open only under the previous key; retire that key once this reports zero and nothing unreadable.
--profile NAMEController connection profile from your config. Optional profiles use the saved default, then local; --profile= selects local.

sparkwing operator teamsSection anchor link

Create teams under operator authority

SubcommandsSection anchor link

  • show -- Show a team and its protected node label
  • create -- Create a team and issue its first administrator credential

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.

sparkwing operator teams createSection anchor link

Create a team and issue its first administrator credential

Create a new team and its first team-admin credential atomically under operator authority. Existing or retired team slugs are refused.

JSON includes the one-time capability and account metadata. Plain and pretty print the capability once. This operation is never retried automatically.

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.
--team SLUGSlug for the new team; a slug that exists or was retired is refused. (required)
--display-name NAMEHuman-readable name for the new team, the slug by default.
--profile NAMEController connection profile from your config. Optional profiles use the saved default, then local; --profile= selects local.

sparkwing operator teams showSection anchor link

Show a team and its protected node label

Show the team's protected node label and value when binding shared Cloud capacity.

The value is derived from the deployment's Cloud Job namespace and the team, so two deployments on one cluster never share a team's nodes.

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.
--team SLUGSlug of the team to show. (required)
--job-namespace NAMESPACEKubernetes namespace this deployment runs Cloud Jobs in; the team's node label value is derived from it and the team. (required)
--profile NAMEController connection profile from your config. Optional profiles use the saved default, then local; --profile= selects local.

sparkwing operator tokensSection anchor link

Manage deployment service credentials

SubcommandsSection anchor link

  • create -- Issue a deployment service credential
  • list -- List deployment service credentials
  • revoke -- Revoke a deployment service credential
  • rotate -- Rotate a deployment service credential

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.

sparkwing operator tokens createSection anchor link

Issue a deployment service credential

Only deployment service credentials; never console trust, grants, freezes or account deletion powers. Licensed self-hosters have no deployment-admin token path.

Use the deployment /operator/tokens routes. JSON includes the new bearer and metadata; plain emits the bearer once. TTL accepts nonnegative whole seconds, including zero for no expiry.

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.
--type KINDKind of credential to issue, service by default; deployment is refused by this command. Values: service, deployment.
--principal NAMEName of the service the credential is issued to; the controller requires it.
--scope SCOPECredential scope. Repeatable; comma-separated values are accepted.
--ttl DURATIONLifetime of the new credential in whole seconds or a duration; omitted or zero issues a credential that never expires.
--profile NAMEController connection profile from your config. Optional profiles use the saved default, then local; --profile= selects local.

sparkwing operator tokens listSection anchor link

List deployment service credentials

Read deployment credential metadata. JSON emits one record per token, with exact scopes and no bearer. Plain emits prefixes. --token selects one prefix.

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.
--token PREFIXToken identifier or prefix.
--type KINDList only credentials of this kind. Values: service, deployment.
--include-revokedAlso list credentials that have been revoked.
--profile NAMEController connection profile from your config. Optional profiles use the saved default, then local; --profile= selects local.

sparkwing operator tokens revokeSection anchor link

Revoke a deployment service credential

Revoke through the deployment token route. JSON retains the confirmed revocation; plain emits the prefix.

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.
--token PREFIXToken identifier or prefix. (required)
--profile NAMEController connection profile from your config. Optional profiles use the saved default, then local; --profile= selects local.

sparkwing operator tokens rotateSection anchor link

Rotate a deployment service credential

Rotate through the deployment token route. JSON includes the new bearer, metadata and old revocation time; plain emits the new bearer. Grace defaults to 24h. Zero TTL preserves the old remaining lifetime. Durations use nonnegative whole seconds.

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.
--token PREFIXToken identifier or prefix. (required)
--grace DURATIONHow long the old credential keeps working after rotation, in whole seconds or a duration, 24h by default; zero revokes it at once.
--ttl DURATIONLifetime of the replacement credential in whole seconds or a duration; omitted or zero keeps the old credential's remaining lifetime.
--profile NAMEController connection profile from your config. Optional profiles use the saved default, then local; --profile= selects local.

sparkwing operator warm-capacitySection anchor link

Manage warm Cloud capacity per hardware class

SubcommandsSection anchor link

  • show -- Show warm capacity policies and start-time metrics
  • set -- Set Off, Manual or Auto warm capacity for one class

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.

sparkwing operator warm-capacity setSection anchor link

Set Off, Manual or Auto warm capacity for one class

Replace one class policy. Off is the default. Counts default to zero and the start-time target to 10s.

Auto uses the higher of cold-start waits / 2 rounded up and current warm + 1 when the hourly median exceeds the target, clamped to min/max.

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.
--class CLASSCloud hardware class, such as sparkwing-2cpu. (required)
--mode MODEoff, manual or auto. (required)
--count NWarm nodes to hold in manual mode, zero by default.
--min NMinimum warm nodes in auto mode, zero by default.
--max NMaximum warm nodes in auto mode, zero by default.
--start-time-target DURATIONPositive job start-time target as a duration, 10s by default.
--profile NAMEController connection profile from your config. Optional profiles use the saved default, then local; --profile= selects local.

sparkwing operator warm-capacity showSection anchor link

Show warm capacity policies and start-time metrics

FlagsSection anchor link

FlagDescription
-o, --output FORMATPretty on a terminal; JSON when piped; explicit format wins. Values: pretty, json, plain.
-C, --checkout PATHResolve the project from this local checkout path.
-h, --helpShow command help without executing.
--help-allInclude uncommon flags in command help.
--profile NAMEController connection profile from your config. Optional profiles use the saved default, then local; --profile= selects local.