Other Overrides

The component sub-charts allow you to override default settings for several Kubernetes features.

When you use Helm chart properties to pass in a Kubernetes-defined object structure, such as resources or affinity rules, the structure you give replaces the default structure. No merge takes place. It might not always be appropriate to set or change these values, depending upon component type.

Override Properties describes the properties that override certain defaults.

Table 1. Override Properties
Property Description Type
sub-chart-name.nodeSelector This allows a NodeSelector to be defined for the component pod(s). NodeSelector
sub-chart-name.tolerations This allows Tolerations to be assigned to the component pod(s). Toleration
sub-chart-name.affinity This allows Affinity rules to be assigned to the component pod(s).

Affinity

sub-chart-name.podSecurityContext This allows a SecurityContext to be specified for the component pod(s). PodSecurityContext
sub-chart-name.resources This allows resources to be defined for the main container in the components pod(s). For MATRIXX gateways and web apps, resources.limits.memory is also translated into JVM maximum heap values. For engine pods and Traffic Routing Agent (TRA-DR and TRA-RT), resources.limits.memory is also used to configure the /dev/shm memory size. Resources
sub-chart-name.securityContext This allows a SecurityContext to be specified for the main container in the components pod(s). SecurityContext
sub-chart-name.additionalContainers This allows a list of additional sidecar containers to be added alongside the main container in a pod. Container
Note: The Affinity, Tolerance, Resources, NodeSelector, PodSecurityContext, and SecurityContext configuration settings in Override Properties can be applied on an engine by engine basis and also per engine pod type: processing, publishing or checkpointing. For more information, see the discussion about domain, sub-domain, and engine topology configuration in MATRIXX Configuration.

Default Affinity Rules describes the default affinity rules used by various components. These are used if no other values are supplied.

Table 2. Default Affinity Rules
Component Affinity Rule Anti-Affinity Command
ActiveMQ Gateway Preference for scheduling the pod away from other ActiveMQ Gateway pods in the same group.

Preference for not scheduling the pod on nodes where the mtx-type label is proc, publ or ckpt.

Use the following command to see the default affinity used in the deployment: helm template matrixx/activemq --show-only templates/deployment.yaml
Event Streaming Framework Preference for scheduling the pod on the same nodes as an RS Gateway pod. Preference for scheduling the pod away from other Event Streaming Framework pods in this deployment.

Preference for not scheduling the pod on nodes where the mtx-type label is proc, publ or ckpt.

Use the following command to see the default affinity used in the deployment: helm template matrixx/event-streamer --show-only templates/deployment.yaml
Gateway Proxy Preference for scheduling the pod away from other Gateway Proxy pods in this deployment.

Preference for not scheduling the pod on nodes where the mtx-type label is proc, publ or ckpt.

Use the following command to see the default affinity used in the deployment: helm template matrixx/gateway-proxy --show-only templates/deployment.yaml
LDAP Gateway Preference for scheduling the pod on the same nodes as a Gateway Proxy pod. Preference for scheduling the pod away from other LDAP Gateway pods in this deployment.

Preference for not scheduling the pod on nodes where the mtx-type label is proc, publ or ckpt.

Use the following command to see the default affinity used in the deployment: helm template matrixx/ldap-gateway --show-only templates/deployment.yaml
MATRIXX Backoffice Customer Tool Preference for scheduling the pod on the same nodes as an RS Gateway pod. Preference for scheduling the pod away from other MATRIXX Backoffice Customer Tool pods in this deployment.

Preference for not scheduling the pod on nodes where the mtx-type label is proc, publ, or ckpt.

Use the following command to see the default affinity used in the deployment: helm template matrixx/matrixxbct --show-only templates/deployment.yaml
My MATRIXX Preference for scheduling the pod away from other My MATRIXX pods in this deployment.

Preference for not scheduling the pod on nodes where the mtx-type label is proc, publ, or ckpt.

Use the following command to see the default affinity used in the deployment: helm template matrixx/mymatrixx --show-only templates/deployment.yaml
Notification Framework Preference for scheduling the pod on the same nodes as an RS Gateway pod. Preference for scheduling the pod away from other Notification Framework pods in this deployment.

Preference for not scheduling the pod on nodes where the mtx-type label is proc, publ or ckpt.

Use the following command to see the default affinity used in the deployment: helm template matrixx/notifier --show-only templates/deployment.yaml
Payment Service Preference for scheduling the pod on the same nodes as a Gateway Proxy pod. Preference for scheduling the pod away from other Payment Service pods in this deployment.

Preference for not scheduling the pod on nodes where the mtx-type label is proc, publ or ckpt.

Use the following command to see the default affinity used in the deployment: helm template matrixx/activemq --show-only templates/deployment.yaml
RS Gateway Preference for scheduling the pod on the same nodes as an Gateway Proxy pod. Preference for scheduling the pod away from other RS Gateway pods in this deployment.

Preference for not scheduling the pod on nodes where the mtx-type label is proc, publ, or ckpt.

Use the following command to see the default affinity used in the deployment: helm template matrixx/rsgateway --show-only templates/deployment.yaml
SBA Gateway Preference for scheduling the pod away from other SBA Gateway pods in this deployment.

Preference for not scheduling the pod on nodes where the mtx-type label is proc, publ or ckpt.

Use the following command to see the default affinity used in the deployment: helm template matrixx/sba-5gc-chf --show-only templates/deployment.yaml
Traffic Routing Agent Requirement to schedule away from other TRA pods in this deployment. Use the following command to see the default affinity used in the deployment: helm template matrixx/tra --show-only templates/tra.yaml