kx logs
Streams logs for an indexed resource. Deployments, StatefulSets, DaemonSets and Services aggregate logs across the pods they own.
Unrecognized flags are passed through to kubectl.
Usage
kx logs [OPTIONS] <index>... [kubectl flags]Arguments
| Argument | Description |
|---|---|
<index>... | Row number from the current listing; run kx state to see it |
Global options
| Option | Description |
|---|---|
--no-color | Disable styled output |
-h, --help | Show this message and exit |
Examples
kx logs 1
kx logs 1 2
kx logs 1 -f --tail=100
kx logs 1..3
kx logs 3..