Michael Tinsley
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?Chris Grass
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
Chris Grass
01/25/2024, 5:28 PMDan Rammer (hamersaw)
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.Justin Boutwell
01/25/2024, 5:46 PMk8s.plugins.*
, ours is plugins.k8s.*
which works without issue (but on 1.10.0)Justin Boutwell
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 configDan Rammer (hamersaw)
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.Michael Tinsley
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?Michael Tinsley
01/26/2024, 10:31 AM