Hey all! I'm looking to get some information on wh...
# flyte-support
s
Hey all! I'm looking to get some information on where task logs can be found via kubectl. Which pod/container does the task run on? I am also looking for more info on how to configure cloudwatch logs. Any help would be appreciated.. Thanks!
p
Hi Andrew - it might depend a little on your setup, but when using the flyte-binary chart a new pod is created to run your tasks. you can set task pod log levels in
.flyte/config.yaml
like:
Copy code
logger:
  show-source: true
  level: 20
s
Thanks @proud-answer-87162 - I managed to figure out how to view them via kubectl but I'm having trouble configuring Cloudwatch access
Any ideas? I saw that there are some configuration options which I tried to emulate from here, but there wasn't much documentation around how to enable it.
p
sorry, i haven't worked with cloudwatch
r
@some-mechanic-82115 You need to install fluentbit (or alternative) to get the logs cloudwatch
s
Thanks @rhythmic-lizard-91902 . Is there some documentation on how to set it up?
r
if you’re using AWS, follow their documentation. There is no specific settings to flyte