remove swarmctl migrate, migrate.json and the migrate docs
This commit is contained in:
parent
58e59be65e
commit
f89d289a9f
1 changed files with 25 additions and 1398 deletions
|
|
@ -40,8 +40,6 @@ This document contains the help content for the `swarmctl` command-line program.
|
|||
* [`swarmctl bao`↴](#swarmctl-bao)
|
||||
* [`swarmctl bao init`↴](#swarmctl-bao-init)
|
||||
* [`swarmctl bao grant-bootstrap`↴](#swarmctl-bao-grant-bootstrap)
|
||||
* [`swarmctl migrate`↴](#swarmctl-migrate)
|
||||
* [`swarmctl migrate status`↴](#swarmctl-migrate-status)
|
||||
* [`swarmctl login`↴](#swarmctl-login)
|
||||
* [`swarmctl completions`↴](#swarmctl-completions)
|
||||
|
||||
|
|
@ -59,7 +57,6 @@ swarm-level operator CLI
|
|||
* `forge` — Manage human accounts on the swarm's forge
|
||||
* `setup` — Walk through the first-run setup, interactively
|
||||
* `bao` — Initialise the swarm's secret store and bootstrap its granter
|
||||
* `migrate` — Move the swarm's services from this host onto its k3s cluster
|
||||
* `login` — Log in to the swarm named by `--swarm` as your own SSO account
|
||||
* `completions` — Generate a shell completion script for `swarmctl` and print it to stdout
|
||||
|
||||
|
|
@ -739,37 +736,6 @@ Reads the root token from a hidden prompt, or from stdin when stdin isn't a term
|
|||
|
||||
|
||||
|
||||
## `swarmctl migrate`
|
||||
|
||||
Move the swarm's services from this host onto its k3s cluster.
|
||||
|
||||
`docs/4-implementation/k8s/migrate.md` describes the move. Only `status` exists yet, and it moves nothing and creates no pod.
|
||||
|
||||
**Usage:** `swarmctl migrate
|
||||
migrate <COMMAND>`
|
||||
|
||||
###### **Subcommands:**
|
||||
|
||||
* `status` — Report where each service stands: its runtime, its host units and its pod, and which step comes next
|
||||
|
||||
|
||||
|
||||
## `swarmctl migrate status`
|
||||
|
||||
Report where each service stands: its runtime, its host units and its pod, and which step comes next.
|
||||
|
||||
Read-only: it creates no pod and changes nothing. Run it as root; it reads `/etc/hyperhive/migrate.json`, asks systemd about the host units and lists the pods in the swarm's namespace with the k3s admin kubeconfig.
|
||||
|
||||
Exits 0 when every check ran, whatever the answers, and 1 when a check failed to run. A script reads the report from `--json`.
|
||||
|
||||
**Usage:** `swarmctl migrate status [OPTIONS]`
|
||||
|
||||
###### **Options:**
|
||||
|
||||
* `--json` — Print the report as JSON: the services as the module renders them, one entry per step with its status, and the next step
|
||||
|
||||
|
||||
|
||||
## `swarmctl login`
|
||||
|
||||
Log in to the swarm named by `--swarm` as your own SSO account.
|
||||
|
|
|
|||
Loading…
Reference in a new issue