kindplane logs
kindplane logs¶
Stream logs from cluster components
Synopsis¶
Stream logs from Crossplane and related components in the cluster.
By default, this command streams logs from the Crossplane controller. You can specify different components or pod names to view their logs.
Examples¶
# View Crossplane controller logs
kindplane logs
# View logs for a specific component
kindplane logs --component providers
# Follow logs in real-time
kindplane logs --follow
# View last 100 lines
kindplane logs --tail 100
# View logs from the last 5 minutes
kindplane logs --since 5m
# View logs from a specific pod
kindplane logs --component crossplane-rbac-manager
# View previous container logs (after restart)
kindplane logs --previous
Options¶
--component string Component to view logs for (crossplane, providers, eso, or pod name) (default "crossplane")
--container string Container name (if pod has multiple containers)
-f, --follow Follow log output
-h, --help help for logs
--previous Show previous terminated container logs
--since duration Only show logs newer than a relative duration (e.g., 5m, 1h)
--tail int Number of lines to show from the end of the logs (default 100)
--timeout duration Timeout for log streaming (default 5m0s)
--timestamps Include timestamps in log output
Options inherited from parent commands¶
SEE ALSO¶
- kindplane - Bootstrap Kind clusters with Crossplane