Skip to content

Separate node collector and job scan affinity #2834

@charleshu-8

Description

@charleshu-8

I'm currently working with a large set of nodes and want to limit which nodes the scan job can deploy on while allowing the node collector to continue to deploy on all possible nodes. I'm already using separate tolerations for scan jobs and node collectors; however, there are some taint-less nodes which I don't have control over which continue to schedule scan jobs. It would be much easier for me to have a set of affinities specific to scan jobs and node collectors so I can use nodeSelector there in conjunction with the tolerations.

Gave a shot at implementing it in this PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions