Hi Flyte team, I am trying to add node selector an...
# flyte-deployment
b
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
s
IIUC
interruptible-node-selector
is for spot instances.
b
Thanks @Samhita Alla 🙂
m
Yep - interruptible is when you add
@task(interruptible=True)
so you should add any any spot affinities here
b
Thanks @Michael Tinsley. 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 :)
184 Views