blue-journalist-98938
08/13/2025, 11:44 PMFlyteInteractive
docs for vscode with Flyte v1, I see the recommended pattern for connecting to the deployed VSCode Server (here)
(Recommended) Expose a URL on the Flyte console. Set up ingress on the Flyte backend to expose a URL on the Flyte console.My question is if there are examples on how to achieve this setup, and how to get
flyteconsole
to display the link within the UI. If this can be done using configurations available in the flyte-core
helm chart that would be the most desirable approach.jolly-florist-66728
08/13/2025, 11:44 PMjolly-florist-66728
08/13/2025, 11:45 PMflyte-core
) support custom ingress rules, and recent Flyte releases added support for dynamic log links, which can be configured to show custom links (like VSCode) in the console UI.
To achieve this, you would:
1. Add an ingress rule in your flyte-core
helm values to route a path (e.g., /vscode/<pod>
) to the VSCode server running in the Flyte task pod. See flyte-core ingress template for structure.
2. Configure a dynamic log link in FlytePropeller's config to generate the VSCode URL for each task, so the console displays it. This is supported as of dynamic log links PR, where you can set a template URI for the VSCode server.
Would you like a step-by-step example with sample YAML and configuration snippets?
Sources:
- FlyteInteractive VSCode docs
- flyte-core ingress template
- dynamic log links PR š 0 button š 0 button š” Hint: Mention @runllm in the thread for followups.blue-journalist-98938
08/13/2025, 11:59 PMkubectl port-forward ā¦
approach
@ancient-wolf-19325jolly-florist-66728
08/13/2025, 11:59 PMkubectl port-forward
to connect to the pod. If you need a production-ready, automated ingress solution, it would require custom scripting or a controller outside of Flyte's current features.jolly-florist-66728
08/14/2025, 12:00 AMkubectl port-forward
to connect to the VSCode server running in a task pod (FlyteInteractive VSCode docs).
There is no out-of-the-box feature in the flyte-core
helm chart or Flyte itself that automatically creates services and ingress rules for each interactive pod. Automating this would require custom Kubernetes controllers or admission webhooks to watch for interactive pods and create the necessary resources, which is not described in the official documentation.
Would you like more detail on possible custom automation patterns, or guidance on using the port-forward approach?
Sources:
- FlyteInteractive VSCode docs š 1 button š 0 button š” Hint: Mention @ancient-wolf-19325 in the thread for followups.