quartermaine / k8_resource_allocation

BSD 2-Clause "Simplified" License
0 stars 0 forks source link

k8_resource_allocation

This repository contains an extended implementation of the solution proposed by James Bremmer for solving the dual-resource bin packing problem. The problem was initially posed by me on Stack Overflow, and the solution uses the first-fit algorithm for Kubernetes resource allocation challenges.

Overview

Features

First-Fit Algorithm: Based on James Bremner's proposal, this implementation uses the first-fit heuristic for resource allocation.
Extended Functionality: Enhancements and optimizations added to improve performance and handle edge cases in Kubernetes environments.
Dual Resource Handling: Manages two resource constraints simultaneously, ensuring efficient bin packing of both CPU and memory.

Credits

Original first-fit algorithm proposal by James Bremmer.
Problem and extension developed by quartermaine.