gray-ocean-62145
01/25/2024, 5:12 PMdefault-pod-template-name
on a flyte-core v1.10.6 deployment…
I’m currently deploying it with this
configmap:
...
k8s:
plugins:
default-cpus: 500m
default-memory: 512Mi
default-pod-template-name: "flyte-default"
inject-finalizer: true
However, whilst propeller successfully registers the template, it isn’t being used as a default. I’m pretty sure this is the correct place to define it as per here. And the template works when explicitly requested within a task. Any pointers?proud-answer-87162
01/25/2024, 5:28 PMflyte-az-development
, so i have:
plugins:
k8s:
metadata:
namespace: flyte-az-development
default-pod-template-name: task-pod-template
proud-answer-87162
01/25/2024, 5:28 PMhallowed-mouse-14616
01/25/2024, 5:36 PMregistered PodTempalte ...
in the propeller logs. You shouldn't need to have a namespace configured, because propeller attempts to retrieve all PodTemplates and applies them based on the task execution namespace. If you're not seeing the log, then the k8s resource watch that propeller uses to detect PodTemplates isn't working - it could indicate a permissions issue.abundant-laptop-64153
01/25/2024, 5:46 PMk8s.plugins.*
, ours is plugins.k8s.*
which works without issue (but on 1.10.0)abundant-laptop-64153
01/25/2024, 5:48 PMk8s.yaml: |
plugins:
k8s:
default-cpus: 100m
default-env-vars: []
default-memory: 100Mi
default-pod-template-name: flyte-template
for context, our confighallowed-mouse-14616
01/25/2024, 6:01 PM/config
with something like curl localhost:10254/config
and it will print a json formatted config of what propeller actually has parsed.gray-ocean-62145
01/26/2024, 9:23 AMdefault-pod-template-name
that isn’t being set correctly. I’ve just done port forward to propeller, and the config is interesting, it looks like none of the config I’ve set via the Helm chart has been set, so I’m assuming I’ve put this in the wrong section (user error!), any ideas where this should be set in the flyte-core Helm chart?gray-ocean-62145
01/26/2024, 10:31 AM