Ranger TagSync Pod Memory Configurations¶
Edit the var.ranger-tagsync.yml file and follow the steps below to change the default memory configurations of the Ranger TagSync pod.
- SSH into the instance where Privacera Manager is installed.
- Navigate to the privacera-manager directory using the following command:
Bash - Run the following command to copy the sample vars. The
-nflag ensures that the file is not overwritten if it already exists.Bash - Run the following command to edit the 'var.ranger-tagsync.yml' file.
Bash - Add the following properties in
vars.ranger-tagsync.ymlto configure the memory for the Ranger TagSync pod:
| Property Name | Description | Default Value |
|---|---|---|
| TAGSYNC_SMALL_ MEMORY_MB | To configure TAGSYNC MEMORY in MB for Java process if deployment size is set to SMALL | 1024 |
| TAGSYNC_MEDIUM_ MEMORY_MB | To configure TAGSYNC MEMORY in MB for Java process if deployment size is set to MEDIUM | 4096 |
| TAGSYNC_LARGE_ MEMORY_MB | To configure TAGSYNC MEMORY in MB for Java process if deployment size is set to LARGE | 8192 |
- Below is the example of
var.ranger-tagsync.ymlfile with memory configurations:
| YAML | |
|---|---|
Ranger TagSync Pod Heap Memory Configurations¶
To update the heap memory configurations of the Ranger TagSync pod, follow the steps outlined below.
- SSH into the instance where Privacera Manager is installed.
- Navigate to the privacera-manager directory using the following command:
Bash - Run the following command to copy the sample vars. The
-nflag ensures that the file is not overwritten if it already exists.Bash - Run the following command to edit the 'var.ranger-tagsync.yml' file.
Bash - Add the following properties in
vars.ranger-tagsync.ymlto configure the memory for the Ranger TagSync pod:
| Property Name | Description | Default value |
|---|---|---|
| TAGSYNC_HEAP_ MIN_MEMORY_MB | To configure minimum Java Heap memory used by Ranger Tagsync | 1024 |
| TAGSYNC_HEAP_ MIN_MEMORY | Minimum Java Heap memory used by Ranger Tagsync. Setting this value will override TAGSYNC_HEAP_MIN_MEMORY_MB | 1024M |
| TAGSYNC_HEAP_ MAX_MEMORY_MB | To configure maximum Java Heap memory in MB used by Ranger Tagsync | 1024 |
| TAGSYNC_HEAP_ MAX_MEMORY | Maximum Java Heap memory used by Ranger Tagsync. Setting this value will override TAGSYNC_HEAP_MAX_MEMORY_MB | 1024M |
| TAGSYNC_K8S_ MEM_REQUESTS_MB | Minimum amount of Kubernetes memory in MB to be requested by Ranger Tagsync | 1024 |
| TAGSYNC_K8S_ MEM_REQUESTS | Minimum amount of Kubernetes memory to be used by Ranger Tagsync. Setting this value will override TAGSYNC_K8S_MEM_REQUESTS_MB | 1024M |
| TAGSYNC_K8S_ MEM_LIMITS_MB | Maximum amount of Kubernetes memory in MB to be requested by Ranger Tagsync | 1024 |
| TAGSYNC_K8S_ MEM_LIMITS | Maximum amount of Kubernetes memory to be used by Ranger Tagsync. Setting this value will override TAGSYNC_K8S_MEM_LIMITS_MB | 1024M |
-
Below is the example of
var.ranger-tagsync.ymlfile with heap memory configurations:6. After updating the properties and restart the service by following these steps:YAML
- Prev topic: Advanced Configuration
- Next topic: Troubleshooting Ranger Tagysync