Plural
Search…
Logs
Application aware log tails can be baked into any plural application to prevent a user from having to dig through the kubernetes api to find the specific pod they should tail. They can be discovered and watched using:
1
plural logs list <app>
2
plural logs tail <app> <name>
Copied!
and the relevant logs will be streamed to stdout.
The specification for these is baked into the LogTail crd, for example:
1
apiVersion: platform.plural.sh/v1alpha1
2
kind: LogTail
3
metadata:
4
name: aws-load-balancer
5
labels:
6
spec:
7
limit: 50
8
target: deployment/bootstrap-aws-load-balancer-controller
9
follow: true
Copied!
Copy link
Edit on GitHub