Documentation Index
Fetch the complete documentation index at: https://docs.skyhook.io/llms.txt
Use this file to discover all available pages before exploring further.
skyhook logs
Stream logs from a service
Synopsis
Stream logs from a running service using stern.
By default, streams logs from all pods in the selected environment.
Uses stern for streaming and merging logs from multiple pods.
Environment variables:
SKYHOOK_ORG Default organization
SKYHOOK_SERVICE Default service (or use .koala.toml)
SKYHOOK_ENV Default environment (or use ‘skyhook config set env’)
Examples
skyhook logs # Stream from service in .koala.toml
skyhook logs --env prod # Stream from production
skyhook logs -A # Stream from all namespaces
skyhook logs --service billing --env dev # Specific service and env
skyhook logs --api --pod my-pod-abc123 # API mode: fetch from specific pod
skyhook logs --first # Non-interactive: auto-select first pod
Options
-A, --all-namespaces Stream from all namespaces
--api Use API mode (non-streaming, single pod)
-c, --container string Container name (if multiple containers)
--context string Kubernetes context to use
-e, --env string Environment to get logs from
--first Auto-select first available environment/pod (non-interactive)
-h, --help help for logs
-p, --pod string Specific pod name (API mode only)
-s, --service string Service to get logs for
--tail int Number of lines to show initially (default 50)
Options inherited from parent commands
--debug Enable debug mode (shows full API requests/responses)
-o, --org string Organization name
-v, --verbose Enable user-friendly verbose output
SEE ALSO
- skyhook - skyhook is a CLI tool to help you create and manage k8s services