Selecting Cluster Nodes

You can use Kubernetes Node Selector to specify a set of nodes of the cluster on which Akamas containers will be scheduled.

To do so you should first look for a label common to all those nodes or create a new one. You can read more about labels in Kubernetes in the official documentation.

Once you have defined a label (say nodeRole: akamas ), you can edit the values.yaml file defined in the Installing Akamas section adding the following properties.

# Node selector for core akamas services
nodeSelector:
  nodeRole: akamas

# Node selector for elasticsearch database
elasticsearch:
  nodeSelector:
    nodeRole: akamas

# Node selector for postgresql database
postgresql:
  primary:
    nodeSelector:
      nodeRole: akamas

# Node selector for airflow
airflow:
  nodeSelector:
    nodeRole: akamas

You can then re-apply the chart using the helm upgrade command.

Last updated