sklp deploy restart

sklp deploy restart [flags] <service>

Description

Bounce every live instance of a service

Arguments

ArgumentRequiredNotes
serviceyes

Flags

FlagAliasesTypeDefaultEnvDescription
--space—stringproduction—space the service belongs to
--server-addrstring——remote supervisor control API (https://host:9443); when set, pilot it over the network instead of the local socket
--token—string——Bearer token for --server (prefer --token-file or SKLP_CONTEXT_TOKEN to keep it out of the process list)
--token-file—string——file holding the Bearer token for --server
--ca-fingerprint—string——pin the server certificate by its sha256 fingerprint (printed by the server / `sklp deploy fingerprint`)
--insecure—bool——skip TLS verification for --server (LAN bootstrap only; prefer --ca-fingerprint)
--context—string——deploy context to read server/token/ca-fingerprint from (default: the active context)
--config—string——path to a config file to read (one file per node/VM, e.g. lungor.yaml); overrides the default ~/.config/sklp/config.yaml

Technical details

Technical details

Raw command JSON

{
  "path": [
    "sklp",
    "deploy",
    "restart"
  ],
  "slug": "deploy-restart",
  "name": "restart",
  "short": "Bounce every live instance of a service",
  "synopsis": "sklp deploy restart [flags] <service>",
  "flags": [
    {
      "name": "space",
      "usage": "space the service belongs to",
      "type": "string",
      "default": "production"
    },
    {
      "name": "server",
      "aliases": [
        "addr"
      ],
      "usage": "remote supervisor control API (https://host:9443); when set, pilot it over the network instead of the local socket",
      "type": "string"
    },
    {
      "name": "token",
      "usage": "Bearer token for --server (prefer --token-file or SKLP_CONTEXT_TOKEN to keep it out of the process list)",
      "type": "string"
    },
    {
      "name": "token-file",
      "usage": "file holding the Bearer token for --server",
      "type": "string"
    },
    {
      "name": "ca-fingerprint",
      "usage": "pin the server certificate by its sha256 fingerprint (printed by the server / `sklp deploy fingerprint`)",
      "type": "string"
    },
    {
      "name": "insecure",
      "usage": "skip TLS verification for --server (LAN bootstrap only; prefer --ca-fingerprint)",
      "type": "bool"
    },
    {
      "name": "context",
      "usage": "deploy context to read server/token/ca-fingerprint from (default: the active context)",
      "type": "string"
    },
    {
      "name": "config",
      "usage": "path to a config file to read (one file per node/VM, e.g. lungor.yaml); overrides the default ~/.config/sklp/config.yaml",
      "type": "string"
    }
  ],
  "positionals": [
    {
      "name": "service",
      "required": true
    }
  ]
}

See also