Configuring Job size limits for Dynamic Engine environments
To protect your Dynamic Engine environments from Denial of Service (DoS) attacks, you can set limits on Job artifact sizes during deployment and execution. Any Job artifact that exceeds these limits is automatically deleted.
Customize Job size limits by creating a custom values file and applying it to your Dynamic Engine environment.
Procedure
Results
Verify that the jobLimits property appears in the ConfigMap called global-configuration for your Dynamic Engine environment:
"jobLimits": {
"maxZipNameLength": 240,
"maxZippedEntries": 2048,
"maxUnzippedSize": 1000000000,
"maxUnzippedFolderNameLength": 240,
"maxUnzippedFileNameLength": 240,
"maxZipDepth": 64
}
These fields specify the following size limits:
- maxZipNameLength: Maximum length of the zip file name.
- maxZippedEntries: Maximum number of files and directories in the zip file.
- maxUnzippedSize: Maximum size of the uncompressed zip file in bytes.
- maxUnzippedFolderNameLength: Maximum length of any folder name after unzipping.
- maxUnzippedFileNameLength: Maximum length of any file name after unzipping.
- maxZipDepth: Maximum nesting level of directories in each Job artifact zip file.