Hi Flyte team, I am trying to add node selector an...
# flyte-deployment
q
Hi Flyte team, I am trying to add node selector and tolerations to my Flyte task pods. What is the difference between
default-node-selector
and
interruptible-node-selector?
Copy code
configuration:
  inline:
    plugins:
      k8s:
        default-node-selector:
           node ="spot"
        default-tolerations:
           - xxxxx
t
IIUC
interruptible-node-selector
is for spot instances.
q
Thanks @tall-lock-23197 🙂
g
Yep - interruptible is when you add
@task(interruptible=True)
so you should add any any spot affinities here
👍 2
q
Thanks @gray-ocean-62145. I am using managed node groups to provision my spot instances. I want all my task to run on spot instances so default-node-selector worked for me. Thanks for pointing out that you can set interruptible at task level :)
👍 1
217 Views