plugin-filter is the filter plugin of pipego written in Go.
- Go >= 1.18.0
make lint
make build
./plugin-filter-test
plugin/nodeaffinity.go
: Implements node selectors and node affinity.plugin/nodename.go
: Checks if a Task spec node name matches the current node.plugin/noderesourcesfit.go
: Checks if the node has all the resources that the Task is requesting.plugin/nodeunschedulable.go
: Filters out nodes that have .spec.unschedulable set to true.
Project License can be found here.