akuity_kargo_instance_logs
akuity kargo instance logs
Stream the logs of an instance's control-plane component
Synopsis
Stream the logs of one Kargo control-plane component (kargo-api, kargo-management-controller, kargo-webhooks-server, kargo-external-webhooks-server, kargo-dex-server, argo-rollouts, kargo-cplane-controller, kargo-event-message-controller, kargo-extension-server). An instance hosted on another shard is served by that shard's portal-server: the request is redirected there and this credential is presented again.
akuity kargo instance logs [flags]
Examples
akuity kargo instance logs <instance-name or instance-id> \
--organization-name=<name> --component=kargo-api --tail=100 --follow
Options
--component string Control-plane component to read (required)
--container string Container of the pod; default: every container the component exposes
-f, --follow Keep the stream open and print new lines as they arrive
-h, --help help for logs
--org-id string Alias for organization-id
--org-name string Alias for organization-name
--organization-id string Akuity cloud organization ID
--organization-name string Akuity cloud organization name
--pod string Pod of the component; default: every pod
--prefix Prefix each line with the pod and container it came from
-p, --previous Logs of the previous container instance, if it restarted
--since int Only lines newer than this many seconds
--tail int Number of most recent lines to show; 0 for all (default 100)
--timestamps Prefix each line with its timestamp
Options inherited from parent commands
--insecure-skip-tls-verify If true, the server's certificate will not be checked for validity
--no-color Disable colored output (default true)
--server string The server url of the Akuity cloud (default "https://akuity.cloud")
SEE ALSO
- akuity kargo instance - Interact with Kargo instances