Wednesday, July 7, 2021

New Bitnami Helm Chart Feature! Pod Affinity Rules

Pod affinity rules help define how the Kubernetes scheduler will distribute a group of pods across cluster nodes when installing an application.  

Unless certain constraints are defined, the scheduler makes a reasonable default placement, but there are certain situations in which the user would like the flexibility to dictate where pods get allocated.  

To help users benefit from this feature, Bitnami has implemented opinionated affinities in Helm charts manifests files. This capability is available in all the infrastructure solutions of Bitnami Application Catalog. 

To enable these affinities, the user simply needs to edit a parameter while installing the chart.  

The following tutorial explains the available options to set up pod affinity rules in Bitnami Helm charts and how they can be adapted depending on your needs.