huawei-cloudnative / firmament

The Firmament cluster scheduling platform
http://www.firmament.io
Apache License 2.0
19 stars 9 forks source link

Pod Affinity and Anti-affinity feature support #4

Closed shivramsrivastava closed 6 years ago

shivramsrivastava commented 6 years ago

This PR implements the Pod Affinity and Anit-Affinity support in `Firmament'. It has some minor fixes to improve the cost calculation for various priorities function like node-affinity, Balanced resource allocation, and least request priority. The various priorities are expressed as a multiple dimension in the cost model.

shivramsrivastava commented 6 years ago

@deepak-vij @m1093782566 Merging this PR, for testing pod affinity changes with Poseidon. We can create separate issues if needed for the code improvements.