Hey all! I'm looking to get some information on wh...
# ask-the-community
a
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
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
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
sorry, i haven't worked with cloudwatch
e
@Andrew Tang You need to install fluentbit (or alternative) to get the logs cloudwatch
a
Thanks @Eduardo Matus . Is there some documentation on how to set it up?
e
if you’re using AWS, follow their documentation. There is no specific settings to flyte