busy-solstice-86695
04/09/2025, 10:18 PMshy-morning-17240
04/10/2025, 2:21 PMhelm install -n your-namespace
, the -n parameter allows you to specify the namespace where things will be deployed to. I've only deployed flyte core, but I assume this would work for flyte binary as wellbusy-solstice-86695
04/10/2025, 2:38 PMhelm install -n mynamespace
to deploy flyte-binary. But then, when I checked all the namespaces, I found flytesnacks-development
, flytesnacks-staging
, and flytesnacks-production
namespaces are created as well, which will be impossible for my organization environment.
I also tried to add configurations in binary-values.yaml to avoid creating these three name spaces, but then I cannot run workflow remotely because the flyte-propeller always look for flytesnacks-development
to spawn task pods. I want to know if there is a way spawn all the task pods in my existing namespace instead of default “flytesnacks-development”busy-solstice-86695
04/10/2025, 2:50 PMflyte-binary
, and the tasks are run under this namespacebusy-solstice-86695
04/10/2025, 2:54 PMvalues.yaml
to avoid creating new namesapces, I can’t run a workflow remotely:shy-morning-17240
04/10/2025, 3:08 PMshy-morning-17240
04/10/2025, 3:09 PMshy-morning-17240
04/10/2025, 3:10 PMshy-morning-17240
04/10/2025, 3:11 PMbusy-solstice-86695
04/10/2025, 3:30 PMmammoth-mouse-1111
04/10/2025, 4:48 PMPodTemplate
that makes flyte pods inside a specific namespace
e.g.
apiVersion: v1
kind: PodTemplate
metadata:
name: flyte-pod-template
namespace: flyte
template:
metadata:
labels:
pod-template-name: flyte-pod-template
pod-template-namespace: YOUR_NAMESPACE_HERE
spec:
containers:
- name: default
image: <<http://docker.io/rwgrim/docker-noop%7Cdocker.io/rwgrim/docker-noop>>
then in helm values.yaml
you specify
configuration:
inline:
plugins:
k8s:
default-pod-template-name: flyte-pod-template
mammoth-mouse-1111
04/10/2025, 4:56 PMnamespace_mapping
too:
configuration:
inline:
namespace_mapping:
template: "YOUR_NAMESPACE_HERE"
busy-solstice-86695
04/10/2025, 10:42 PMnamespace_mapping
under configuration.inline
actually works! The task pods are created under my existing namespace! Thank you very much!careful-australia-19356
04/16/2025, 2:30 PM