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:
plural logs list <app> plural logs tail <app> <name>
Now the relevant logs will be streamed to stdout.
The specification for these is baked into the LogTail
crd, for example:
yaml
apiVersion: platform.plural.sh/v1alpha1 kind: LogTail metadata: name: aws-load-balancer labels: spec: limit: 50 target: deployment/bootstrap-aws-load-balancer-controller follow: true