Kibotos
kibo commands

kibo template

Build, publish, admit and discover Workspace Templates. This page lists the usage, examples, and flags of kibo template and its subcommands, generated from the kibo source code.

Every command on this page also takes the global flags --endpoint, --json, and --timeout. See CLI reference for kibo.

Subcommands:

kibo template approve

Makes one published Template revision selectable, so new Workspaces may be created from it. It changes nothing else: the Template keeps whatever default it had, and no Platform revision is named or moved. Picking the Platform a Workspace launches on is a separate decision, taken with kibo platform.

kibo template approve <template-id> [flags]
FlagDefaultDescription
--command-id <key>idempotency key for this change; see kibo help command-ids
--revision <revision>Requiredexact Template revision the change applies to

kibo template disable

Takes one Template revision out of the selectable set, so no new Workspace is created from it. Workspaces already created from it keep running. A reason is required and must be admin-disabled or admission-rejected, so the recorded answer to "why can nobody pick this revision" is one of a known few. The revision stays registered: kibo template approve puts it back.

kibo template disable <template-id> [flags]
FlagDefaultDescription
--command-id <key>idempotency key for this change; see kibo help command-ids
--reason <string>Requiredwhy the revision is not selectable: admin-disabled or admission-rejected
--revision <revision>Requiredexact Template revision the change applies to

kibo template get

Get a Template or exact revision.

kibo template get <template-id> [flags]
FlagDefaultDescription
--revision <revision>exact Template revision; the default revision when omitted

kibo template list

List Templates.

kibo template list [flags]

Also available as kibo template ls.

Examples:

kibo template list
kibo template list --selection any --wide
FlagDefaultDescription
--delivery <filter>anydelivery filter: any, ready, not-ready, or unknown
--page-size <number>maximum number of results on a page
--page-token <token>token from the Next line of the previous page
-q, --quietprint only the IDs of the resources in the result
--selection <filter>selectableselection filter: selectable, not-selectable, or any
--wideshow every field, including revisions and full digests

kibo template prepare

Prepare and verify an exact Template launch on the node.

kibo template prepare <template-id> [flags]
FlagDefaultDescription
--command-id <key>idempotency key for this change; see kibo help command-ids
--no-waitreturn once the preparation has started instead of waiting for it
--node <id>id of the node to warm; required, preparation targets one node
--platform-revision <revision>Platform revision, used only to choose between candidates
--revision <revision>Template revision, used only to choose between candidates
--wait-timeout <duration>1htotal time to wait for the preparation to reach a terminal state

kibo template publish

Publish one verified rootfs result to ctrl.

kibo template publish <build-result-directory> [flags]
FlagDefaultDescription
--build-cache-root <directory>read-only artifact stage cache directory containing the Kibotos marker and the stages/ directory
--command-id <key>idempotency key for this change; see kibo help command-ids
--wait-timeout <duration>2hmaximum time to wait for durable background finalization; timing out does not abort it

kibo template set-default

Moves the revision new Workspaces get when none is named. A Template with no default yet has nothing to compare against: say so with --expect-no-default. No Platform revision is named or moved: releasing a Template never drags another team's kernel along.

See kibo help command-ids for --command-id and --expected-revision.

kibo template set-default <template-id> [flags]
FlagDefaultDescription
--command-id <key>idempotency key for this change; see kibo help command-ids
--expect-no-defaultstate that the Template has no default yet instead of reading the current one
--expected-revision <revision>revision the Template is expected to default to; read from the server when omitted
--revision <revision>Requiredexact Template revision the change applies to

kibo template withdraw

Withdraws one Template revision. Workspaces already created from it keep running and are not migrated, but the revision never becomes selectable again: a withdrawal is the one admission change kibo template approve cannot undo. A reason is required: a Template revision that disappears without one leaves nobody able to say why.

kibo template withdraw <template-id> [flags]
FlagDefaultDescription
--command-id <key>idempotency key for this change; see kibo help command-ids
--reason <text>Requiredtext saying why this Template revision is withdrawn; required
--revision <revision>Requiredexact Template revision the change applies to

On this page