This release of NRI Reference Plugins brings new features, a few bug fixes, and updates to the documentation.
Highlights
- balloons policy now supports assigning kernel-isolated CPU cores to balloons when available. To prefer isolated CPU cores for a balloon, use the new
preferIsolCpus
boolean configuration option. For instance,
balloonTypes:
- name: high-prio-physical-core
minCPUs: 2
maxCPUs: 2
preferNewBalloons: true
preferIsolCpus: true
hideHyperthreads: true
...
- balloons policy now supports assigning performance optimized or energy efficient CPU cores to balloons when available. For instance, to define a balloon with energy efficient core preference and another one with performance core preference use the new
preferCoreType
configuration option like this:
balloonTypes:
- name: low-prio
namespaces:
- logging
- monitoring
preferCoreType: efficient
...
- name: high-prio
preferCoreType: performance
...
- Topology-aware policy now allocates CPU cores in clusters of shared last-level cache. Whenever this provides different grouping than the rest of the topology, for instance hyperthreads, the CPU allocator now divides cores into groups defined by shared last-level cache. The topology-aware policy tries to allocate as few LLC groups to a container as possible and tries to avoid sharing an LLC group by multiple containers.
What's New
- balloons: add support for isolated cpus. by @fmuyassarov in #344
- balloons: add support for power efficient & high performance cores by @fmuyassarov in #354
- cpuallocator: implement clustered allocation based on cache groups. by @klihub in #343
What Changed
Resource assignment policies should now try harder to detect when a new container is a restarted instance of an existing container which has just exited or crashed. This should fix problems where a crashing container could not be restarted on an nearly fully allocated node.
- deps: bump NRT dependencies to v0.1.2. by @fmuyassarov in #348
- topology-aware: add missing SingleThreadForCPUs() to mockSysfs. by @klihub in #349
- balloons: add support for isolated cpus. by @fmuyassarov in #344
- cpuallocator: implement clustered allocation based on cache groups. by @klihub in #343
- fixes: fix host-wait-vm-ssh-server, improve vm-reboot. by @klihub in #350
- fix: clean up plugin at the beginning/end of tests. by @klihub in #351
- doc: add availableResources in the balloons policy documentation by @askervin in #355
- build: allow building a single plugin image. by @klihub in #357
- balloons: add support for power efficient & high performance cores by @fmuyassarov in #354
- e2e: fix cni_plugin=bridge in provisioning a vm by @askervin in #359
- e2e: bridge CNI setup fixes for Fedora/containerd. by @klihub in #361
- e2e: use bridge CNI plugin by default. by @klihub in #362
- CI: verify in smaller steps, verify binary builds. by @klihub in #364
- resmgr: lifecycle overlap detection and workaround. by @klihub in #358
Full Changelog: v0.7.0...v0.7.1