ancient-wolf-19325
06/12/2024, 11:04 PMflytekitplugins-pod to set task configuration, and I noticed that while it’s possible to set the pod_spec.subdomain, trying to set the pod_spec.hostname does not work. It seems to be getting stripped out by flyte before the task runs. Is it not possible to set a task’s pod hostname, or have I missed a useful detail?
# Answer
Setting the pod_spec.hostname directly in Flyte tasks is currently not supported. According to this GitHub issue, the .hostname variable is not resolvable by code, and there is no direct support for setting the hostname in the Flyte pod configuration.
Would you like more details on potential workarounds or further information on this topic?
Sources:
- this GitHub issue
Slack Link
https://flyte-org.slack.com/archives/CP2HDHKE1/p1718233461.974559 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.