Hi! We are trying to configure Cloudwatch logging ...
# flyte-deployment
a
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 }}"
k
This is some configuration stuff, we recently helped someone- cc @Shivay Lamba / @Samhita Alla do you folks remember
Aah then you need to add cloudwatch agent
You needs logs to be pushed
a
how do I do that?
k
Flyte will not push it, this is k8s native
Cc @Smriti Satyan let's capture that you should use k8s agent to push logs
s
Also depends on how to push the logs to cloudwatch. @Ketan (kumare3) we could also share the techniques to push the logs.
k
I think this does not belong to Flyte docs, we can reference other docs
a
Thanks @Ketan (kumare3) 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?
k
It's helm
Update and reapply
158 Views