Giter Club home page Giter Club logo

nova-filter-collection's Introduction

nova-filter-collection

Collection of additional nova scheduler filters developed in the de.NBI project

Implemented filters

AggregateMatch (denbi.nova.scheduler.filter.aggregate_match)

This match reverses the logik of the existing AggregateInstanceExtraSpecs filter. All specs of a given host/aggregate have to be present in the instance definition for a host to pass. This allows an easy definition of special duty hosts that are only available to well defined instances, e.g. GPU hosts. The existing filter does not prevent normal instances without any extra specs from being scheduled to host or aggregate with certain specs.

Example:

Hosts in the aggregate 'high-mem' should be reserved for instance with high memory requirements. The aggregate is defined with an extra property:

(openstack) aggregate show high-mem
+-------------------+--------------------------------+
| Field             | Value                          |
+-------------------+--------------------------------+
| availability_zone | nova                           |
...
| name              | high-mem                       |
| properties        | type='high-mem'                |
...
+-------------------+--------------------------------+

A corresponding flavor can be created with

(openstack) flavor create --property type=high-mem ...... large_ram_flavor

The filter supports either unscoped property, or properties scoped with aggregate_instance_extra_specs, e.g. aggregate_instance_extra_specs:type=high-mem. All instances based on flavors without a matching property will not be scheduled to the high-mem hosts.

Properties can be defined as key-value pairs or use any of the extra spec ops. For more information see https://docs.openstack.org/nova/rocky/user/filter-scheduler.html.

nova-filter-collection's People

Contributors

be-el avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

nova-filter-collection's Issues

Add unit tests

We need unit tests for the filter before it can be put into production.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.