https://flyte.org logo
#ask-the-community
Title
# ask-the-community
a

Andrew Tang

10/30/2023, 9:31 PM
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!
c

Chris Grass

10/30/2023, 10:38 PM
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
a

Andrew Tang

10/31/2023, 12:57 AM
Thanks @Chris Grass - 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.
c

Chris Grass

10/31/2023, 1:06 AM
sorry, i haven't worked with cloudwatch
e

Eduardo Matus

10/31/2023, 3:08 AM
@Andrew Tang You need to install fluentbit (or alternative) to get the logs cloudwatch
a

Andrew Tang

10/31/2023, 4:08 PM
Thanks @Eduardo Matus . Is there some documentation on how to set it up?
e

Eduardo Matus

11/01/2023, 2:05 AM
if you’re using AWS, follow their documentation. There is no specific settings to flyte