Hi! We are trying to configure Cloudwatch logging ...
# flyte-deployment
k
Hi! We are trying to configure Cloudwatch logging on Flyte, but it doesn’t work. Not sure what are we doing wrong. We have created a log group “/aws/eks/analytics-orchestration/flyte” on Cloudwatch and in the values-eks.yaml we have:
Copy code
userSettings:
  ...
  logGroup: /aws/eks/analytics-orchestration/flyte
...
configmap:
  task_logs:
    plugins:
      logs:
        kubernetes-enabled: false
        # -- One option is to enable cloudwatch logging for EKS, update the region and log group accordingly
        # You can even disable this
        cloudwatch-enabled: true
        # -- region where logs are hosted
        cloudwatch-region: "{{ .Values.userSettings.accountRegion }}"
        # -- cloudwatch log-group
        cloudwatch-log-group: "{{ .Values.userSettings.logGroup }}"
f
This is some configuration stuff, we recently helped someone- cc @cuddly-waitress-92494 / @tall-lock-23197 do you folks remember
k
Under task Exectutions it shows the link to cloudwatch logs, but the log stream doesn’t exist:
f
Aah then you need to add cloudwatch agent
You needs logs to be pushed
k
how do I do that?
f
Flyte will not push it, this is k8s native
Cc @billowy-sundown-31926 let's capture that you should use k8s agent to push logs
1
👀 2
v
Also depends on how to push the logs to cloudwatch. @freezing-airport-6809 we could also share the techniques to push the logs.
f
I think this does not belong to Flyte docs, we can reference other docs
k
Thanks @freezing-airport-6809 will look into it. if you got any other docs on this topic, please share.
Btw, side question. If I want to update some values in the values-eks.yaml of already installed Flyte, how should I do that? Is there a command to update it?
f
It's helm
Update and reapply
162 Views