Skip to content
Search

Kubectl:logs

lastmod 2025-02-14created 2024-06-163 edits

The logs command of kubectl

Examples

View Deployment logs:

kubectl logs deployment/yourid-api-deployment-discord -n yourid-api

Search by label (-l key=value):

kubectl logs -l app=discord ...

Information for all containers (--all-containers=true):

kubectl logs -n yourid-api -l app=yourid-api-discord --all-containers=true

See also

author Zer0 sitemap