Skip to content

Support specifying node affinity for executors that create K8s DeploymentsΒ #460

@kate-goldenring

Description

@kate-goldenring

The SpinApp CRD supports Pod and Deployment annotations; however there is currently no way to declare node affinity for scheduling SpinApps.

Concern arose from Discord question:

Hey, i was curious as to handle things like pod affinity, priority classes, tolerations and schedulers πŸ™‚
Some of the pods have for example the requirement to be ran on specific nodes, due to region based data laws. However I also would like these nodes to be seen as opportunistic, so that when they have no dedicated task, any pod can use them

One concern around specifically adding NodeAffinity to the SpinApp CRD is that it is specific to executors that create Deployments, but there are already several fields like this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions