Transaction Log Deletion Configuration

Transaction Log Deletion Configuration Properties describes the properties available for configuring transaction log deletion instances.

Table 1. Transaction Log Deletion Configuration Properties
Property Description
engine.operatorV2.deleteOldTransactionLogs.affinity The affinity configuration used by the delete-old-transaction-logs pods. The value is of type Affinity.
engine.operatorV2.deleteOldTransactionLogs.args The arguments passed to the delete_old_transaction_log.py script when executed on the publishing pods. The default value is --min_free 10%.
engine.operatorV2.deleteOldTransactionLogs.enabled Set to true if the CronJob is to be created for each MATRIXX Engine. The default value is true.
engine.operatorV2.deleteOldTransactionLogs.image.nameOverride The name of the image used for the delete-old-transaction-logs pods.
engine.operatorV2.deleteOldTransactionLogs.image.versionOverride The tag value of the image used for the delete-old-transaction-logs pods.
engine.operatorV2.deleteOldTransactionLogs.labels.podLabels Labels added to the delete-old-transaction-logs pods. These would be in addition to the labels specified with the global.labels.podLabels property which are applied to all pods.
engine.operatorV2.deleteOldTransactionLogs.maxAttempts The maximum number of times the utility attempts to find an active publishing pod on which to run the script.
engine.operatorV2.deleteOldTransactionLogs.nodeSelector The node selector configuration used for the delete-old-transaction-logs pods.
engine.operatorV2.deleteOldTransactionLogs.podSecurityContext The pod security context configuration used by the delete-old-transaction-logs pods. The value is of type PodSecurityContext. The default value is fsGroup: 1000.
engine.operatorV2.deleteOldTransactionLogs.resources The resource configuration used by the delete-old-transaction-logs pods. The value is of type ResourceRequirements.
engine.operatorV2.deleteOldTransactionLogs.retryInterval The number of seconds between each try to find an active publishing pod on which to run the script.
engine.operatorV2.deleteOldTransactionLogs.schedule The cron expression used to trigger the utility. The default value is 5 * * * * indicating to run the utility every hour at five minutes past.
engine.operatorV2.deleteOldTransactionLogs.securityContext The container security context configuration used by the delete-old-transaction-logs pods. The value is of type SecurityContext. The default value is:
allowPrivilegeEscalation: false
privileged: false
runAsNonRoot: true
runAsUser: 1000
engine.operatorV2.deleteOldTransactionLogs.serviceAccount.annotations Annotations added to the service account when the engine.operatorV2.deleteOldTransactionLogs​.serviceAccount.create property is set to true.
engine.operatorV2.deleteOldTransactionLogs.serviceAccount.create When set to true, a service account is created with the specified name and annotations in every namespace containing an engine.

Otherwise, a service account with the specified name must be manually created in every namespace containing an engine. The default value is true.

engine.operatorV2.deleteOldTransactionLogs.serviceAccount.name The name of the service account created in every namespace containing an engine when the engine.operatorV2.deleteOldTransactionLogs​.serviceAccount.create property is set to true.

Otherwise, a service account with this name must be manually created in every namespace containing an engine. The default value is delete-old-transaction-logs.

engine.operatorV2.deleteOldTransactionLogs.tolerations The tolerance configuration used by the delete-old-transaction-logs pods. The value is a list of type Toleration.

The following global configuration properties are not valid for Topology Operator-based deployments. They remain valid for Engine Controller and Engine Operator-based deployments.

  • utilities.delete-old-transaction-logs.affinity
  • utilities.delete-old-transaction-logs.args
  • utilities.delete-old-transaction-logs.enabled
  • utilities.delete-old-transaction-logs.image.nameOverride
  • utilities.delete-old-transaction-logs.image.versionOverride
  • utilities.delete-old-transaction-logs.maxAttempts
  • utilities.delete-old-transaction-logs.nodeSelector
  • utilities.delete-old-transaction-logs.podSecurityContext
  • utilities.delete-old-transaction-logs.resources
  • utilities.delete-old-transaction-logs.retryInterval
  • utilities.delete-old-transaction-logs.schedule
  • utilities.delete-old-transaction-logs.securityContext
  • utilities.delete-old-transaction-logs.serviceaccount.create
  • utilities.delete-old-transaction-logs.serviceaccount.name
  • utilities.delete-old-transaction-logs.tolerations