Pod placement
You can configure the Pod placement of the Trino pods as described in Pod placement.
The default affinities created by the operator are:
-
Co-locate all the Trino Pods (weight 20)
-
Distribute all Pods within the same role (coordinators, workers) (weight 70)
Additionally the operator will look through every TrinoCatalog
you configure and will set up the following affinities:
-
Hive + Iceberg connector: Co-locate the coordinators with the hive metastores (weight 50)
-
Hive + Iceberg connector: Co-locate the workers with the hdfs datanodes (if hdfs is used) (weight 50)