kp_build_logs.md
August 8, 2023 ยท View on GitHub
kp build logs
Tails logs for an image resource build
Synopsis
Tails logs from the containers of a specific build of an image resource in the provided namespace.
The build defaults to the latest build number. The namespace defaults to the kubernetes current-context namespace.
Use the flag --timestamps to include the timestamps for the logs
kp build logs <image-name> [flags]
Examples
kp build logs my-image
kp build logs my-image -b 2 -n my-namespace
Options
-b, --build string build number
-h, --help help for logs
-n, --namespace string kubernetes namespace
-t, --timestamps show log timestamps
SEE ALSO
- kp build - Build Commands