Traffic Stream Reporter Cleaner configuration
The following table lists the configurable parameters of the TSR-Cleaner chart and their default values.
| Key | Description | Type | Default |
|---|---|---|---|
| additionalContainers | Additional containers | list | [] |
| additionalInitContainers | Additional initContainers | list | [] |
| additionalVolumeMounts | Additional volume mounts used in main application container | list | [] |
| additionalVolumes | Additional volumes | list | [] |
| affinity | object | {} | |
| backoffLimit | Specifies the number of retries before marking this job failed. | int | 0 |
| concurrencyPolicy | Specifies how to treat concurrent executions of a Job. Valid values are: "Allow" (default): allows CronJobs to run concurrently; "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; "Replace": cancels currently running job and replaces it with a new one | string | "Replace" |
| containerSecurityContext.allowPrivilegeEscalation | bool | false | |
| containerSecurityContext.capabilities.drop[0] | string | "ALL" | |
| containerSecurityContext.privileged | bool | false | |
| containerSecurityContext.readOnlyRootFilesystem | bool | true | |
| dryRun | Defines if cleanup will be done or just simulated. | bool | false |
| envs | object | {} | |
| existingSecret | Name of an existing Kubernetes secret to use in the deployment. | string | "" |
| failedJobsHistoryLimit | The number of failed finished jobs to retain. Value must be non-negative integer. Kubernetes defaults it to 1 if unset. | int | nil |
| image.pullPolicy | Image Pull Policy of TSR-Cleaner's pod. May be one of "Always", "IfNotPresent", "Never". | string | "IfNotPresent" |
| image.repository | Repository holding TSR-Cleaner image. | string | "registry.cennso.com/cennso/tsr-cleaner" |
| image.tag | Overrides the image tag whose default is the chart appVersion. | string | "" |
| imagePullSecrets | ImagePullSecrets that will be added to the TSR-Cleaner's service account. Example value: [{name: "regcred"}] | list | [] |
| mysql.db | Name of the database where TSR-Sink aggregated the data. | string | nil |
| mysql.host | Host address of the SQL Database Server. | string | nil |
| mysql.pass | Password for the SQL Database Server. | string | nil |
| mysql.port | Port of the SQL Database Server. | int | 3306 |
| mysql.user | User for the SQL Database Server. | string | nil |
| podSecurityContext.runAsNonRoot | bool | true | |
| resources.limits.cpu | string | "100m" | |
| resources.limits.memory | string | "128Mi" | |
| resources.requests.cpu | string | "100m" | |
| resources.requests.memory | string | "128Mi" | |
| retention | Old data will be cleaned up from the database after this many days. | int | 7 |
| schedule | The schedule in Cron format, see https://en.wikipedia.org/wiki/CronOpens in a new tab. DocumentationOpens in a new tab | string | "0 5 */7 * *" |
| successfulJobsHistoryLimit | The number of successful finished jobs to retain. Value must be non-negative integer. Kubernetes defaults it to 3 if unset. | int | nil |
| tablePrefix | The prefix of the tables that will be examined for cleanup. | string | "" |
| tolerations | list | [] | |
| ttlSecondsAfterFinished | ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. | int | nil |