Hey, question about podtemplates. I've setup mine ...
# ask-the-community
c
Hey, question about podtemplates. I've setup mine (by adding it to the helm chart) and registered it as well (under the same namespace as flyte-binary). However, when I run a workflow (in a different project-domain namespace), the pod template isn't being used. Is it because it's in a different namespace or is there something else I need to do it to get flyte to use my podtemplate?
The workflow was registered before registering the podtemplate btw
Ah. Missing permissions on the KSA (get podtemplates specifically)
Hmm. No still not. Tried
configuration.inline.plugins.k8s.default-tolerations/default-node-selector
instead and seems to works :)
y
it’s namespace specific yeah
there’s a default one i believe
c
Yeah, based on what I read in the docs, if the namespace-specific one doesn't exist it look in the namespace of flyte-binary/core (e.g.
flyte
) that's where I put my podtemplate, but it seems flyte was not able to actually get it (KSA had issues). By setting it via the k8s plugins though ,I managed to get it working so no worries