https://flyte.org logo
#flyte-deployment
Title
# flyte-deployment
a

Arshak Ulubabyan

09/20/2022, 1:37 PM
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

Ketan (kumare3)

09/20/2022, 1:39 PM
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

Arshak Ulubabyan

09/20/2022, 1:42 PM
how do I do that?
k

Ketan (kumare3)

09/20/2022, 1:42 PM
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

Shivay Lamba

09/20/2022, 1:59 PM
Also depends on how to push the logs to cloudwatch. @Ketan (kumare3) we could also share the techniques to push the logs.
k

Ketan (kumare3)

09/20/2022, 2:13 PM
I think this does not belong to Flyte docs, we can reference other docs
a

Arshak Ulubabyan

09/20/2022, 2:22 PM
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

Ketan (kumare3)

09/20/2022, 3:28 PM
It's helm
Update and reapply
77 Views