sklp deploy logs
sklp deploy logs [flags] <service>Description
Stream (or follow with -f) a service's container output
Arguments
| Argument | Required | Notes |
|---|---|---|
| service | yes |
Flags
| Flag | Aliases | Type | Default | Env | Description |
|---|---|---|---|---|---|
| --file | — | string | — | — | (deprecated, ignored) logs stream from the live supervisor |
| --repo | — | string | — | — | (deprecated, ignored) logs stream from the live supervisor |
| --space | — | string | production | — | space the service belongs to |
| --follow | -f | bool | — | — | follow the log (tail -f); Ctrl-C to stop |
| --server | -addr | string | — | — | 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",
"logs"
],
"slug": "deploy-logs",
"name": "logs",
"short": "Stream (or follow with -f) a service's container output",
"synopsis": "sklp deploy logs [flags] <service>",
"flags": [
{
"name": "file",
"usage": "(deprecated, ignored) logs stream from the live supervisor",
"type": "string"
},
{
"name": "repo",
"usage": "(deprecated, ignored) logs stream from the live supervisor",
"type": "string"
},
{
"name": "space",
"usage": "space the service belongs to",
"type": "string",
"default": "production"
},
{
"name": "follow",
"aliases": [
"f"
],
"usage": "follow the log (tail -f); Ctrl-C to stop",
"type": "bool"
},
{
"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
}
]
}