Hey Flyte Team, I just updated to Flyte `v0.19.3`....
# announcements
a
Hey Flyte Team, I just updated to Flyte
v0.19.3
. No matter what I add to my Propeller
deployment.yaml
, I cannot seem to get Stackdriver log links to render in Flyte Console for map tasks (i.e.
k8s_array
tasks). Map task subtasks always render with Kubernetes log links (even when declaring
kubernetes-enabled: false
). I'm pretty sure that Stackdriver log links just don't work yet for map tasks. Could you confirm that?
Just FYI Stackdriver log links are working fine for me for normal (Python) k8s tasks and for Spark tasks. BTW for Spark tasks, I'm enjoying the separation for log links between the Spark driver pod and executors; thanks for that.
h
It should work yes… for map tasks..
let me get you an example config
Copy code
plugins:
  k8s-array:
    logs:
      config:
        templates:
          - displayName: "stackdriver"
            templateUris:
              - "<https://console.cloud.google.com/logs/viewer?project=><my project>&angularJsUrl=%%2Flogs%%2Fviewer%%3Fproject%%3D<my project>&resource=<stack driver log resource name>&advancedFilter=resource.labels.pod_name%%3D{{ .podName }}"
            messageFormat: JSON
a
Ah, I think I missed the intermediate
config
key. I should have noticed that, I saw it in the code!
Let me give it a shot
It worked for me! Thanks for the help, Haytham!
🙇 1
112 Views