Skip to content

Latest commit

 

History

History
60 lines (29 loc) · 1.6 KB

File metadata and controls

60 lines (29 loc) · 1.6 KB

plugin-filter

Build Status Go Report Card License Tag

Introduction

plugin-filter is the filter plugin of pipego written in Go.

Prerequisites

  • Go >= 1.18.0

Run

make lint
make build
./plugin-filter-test

Docker

Usage

  • 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.

Settings

License

Project License can be found here.

Reference