Hi everyone, I'm having trouble configuring UI lo...
# flyte-support
m
Hi everyone, I'm having trouble configuring UI logging links for flyte tasks that use the ray plugin. I can see logging links being rendered and working just fine for normal flyte tasks, but I don't see any logging links being rendered for
Ray
tasks. Do I need to configure something separately from the template URIs in the propeller configmap for ray tasks to give me a link? I couldn't find anything clear in the docs or previous slack messages unfortunately. Thanks, and appreciate your help!
I haven't used these though so I'm not sure how well they work.
m
Thanks for the quick reply! And sorry... I'm not the most familiar with go. Based on this, how should I modify my K8s deployment to configure ray logs? Is there some change to the ray plugin config?
c
Are you deploying with a helm chart?
m
Thanks Jason - I've already deployed the ray plugin with helm like this though, and it's been running smoothly. That link you've sent me unfortunately doesn't seem to have any docs about configuring logging links 😕 or are you suggesting I need to add some of the above logging configuration to this configmap?
c
Yeah. You’d add the config there. Generally in the go code the values inside the json tags are what the config values would be. And when there are references to deeper structures it becomes nested YAML
👍 1
🙏 1
m
OK great - thats quite helpful. I'll give this a shot and report back haha
That worked! I'm able to see logging links on my UI now for ray tasks 😄 Thanks so much for your help!
🦜 1
For posterity, I made the following change to the propeller configmap:
Copy code
ray:
  logs:
    templates:
      - displayName: Ray Logs
        templateUris:
          - my_uri
under k8s.yaml / plugins / k8s
for even more posterity, I had to use
{{ .rayClusterName }}
in my template URI