Skip to main content
logoTetrate Service BridgeVersion: next

tctl collect-minimal

tctl collect-minimal

Collect a minimal, hostname-scoped diagnostic dump.

tctl collect-minimal [flags]

Examples


# Collect a hostname-scoped dump for echo.echo.svc.cluster.local
tctl collect-minimal --hostname echo.echo.svc.cluster.local --namespace echo

# Collect without archiving (useful for local debugging)
tctl collect-minimal --hostname echo.echo.svc.cluster.local --namespace echo --disable-archive

Options

      --disable-archive           output files rather than tarball
-h, --help help for collect-minimal
--hostname string Hostname to scope the dump to, e.g. echo.echo.svc.cluster.local.
--namespace string Namespace of the hostname being scoped to.
-o, --output-directory string the path to write the collected files under (default "tctl-debug-1783214935905431373")
--redact-presets strings Comma-separated list of redaction presets to use in collection data obfuscation.
Available presets:
- "networking": Obfuscate any data that matches IPv4 or IPv6 addresses. Any matches are replaced with SHA-256 hashes that are converted back to a valid IPv4 or IPv6.
--redact-regexes strings Obfuscate the data collected based on the list of provided regexes. Any matches are replaced with SHA-256 hashes of the matched string.
--rps-limit int Requests per second limit to the Kubernetes API server, defaults to 50. A higher limit can make collect run faster. (default 50)

Options inherited from parent commands

  -c, --config string               Path to the config file to use. Can also be
specified via TCTL_CONFIG env variable. This flag
takes precedence over the env variable.
--debug Print debug messages for all requests and responses
--disable-tctl-version-warn If set, disable the outdated tctl version warning. Can also be
specified via TCTL_DISABLE_VERSION_WARN env variable.
-p, --profile string Use specific profile (default "default")