Skip to content

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.

  1. SSH into the instance where Privacera Manager is installed.
  2. Navigate to the privacera-manager directory using the following command:
    Bash
    cd ~/privacera/privacera-manager/
    
  3. Run the following command to copy the sample vars. The -n flag ensures that the file is not overwritten if it already exists.
    Bash
    cp -n config/sample-vars/vars.ranger-tagsync.yml config/custom-vars/
    
  4. Run the following command to edit the 'var.ranger-tagsync.yml' file.
    Bash
    vi config/custom-vars/vars.ranger-tagsync.yml
    
  5. Add the following properties in vars.ranger-tagsync.yml to 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.yml file with memory configurations:

YAML
1
2
3
TAGSYNC_SMALL_MEMORY_MB: "1024"
TAGSYNC_MEDIUM_MEMORY_MB: "4096"
TAGSYNC_LARGE_MEMORY_MB: "8192"
6. After adding the above properties, update your Privacera Manager platform instance by following the Restart Services section.

Ranger TagSync Pod Heap Memory Configurations

To update the heap memory configurations of the Ranger TagSync pod, follow the steps outlined below.

  1. SSH into the instance where Privacera Manager is installed.
  2. Navigate to the privacera-manager directory using the following command:
    Bash
    cd ~/privacera/privacera-manager/
    
  3. Run the following command to copy the sample vars. The -n flag ensures that the file is not overwritten if it already exists.
    Bash
    cp -n config/sample-vars/vars.ranger-tagsync.yml config/custom-vars/
    
  4. Run the following command to edit the 'var.ranger-tagsync.yml' file.
    Bash
    vi config/custom-vars/vars.ranger-tagsync.yml
    
  5. Add the following properties in vars.ranger-tagsync.yml to 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.yml file with heap memory configurations:

    YAML
    1
    2
    3
    4
    5
    6
    7
    8
    TAGSYNC_HEAP_MIN_MEMORY_MB: "1024"
    TAGSYNC_HEAP_MIN_MEMORY: "1024M"
    TAGSYNC_HEAP_MAX_MEMORY_MB: "1024"
    TAGSYNC_HEAP_MAX_MEMORY: "1024M"
    TAGSYNC_K8S_MEM_REQUESTS_MB: "1024"
    TAGSYNC_K8S_MEM_REQUESTS: "1024M"
    TAGSYNC_K8S_MEM_LIMITS_MB: "1024"
    TAGSYNC_K8S_MEM_LIMITS: "1024M"
    
    6. After adding the above properties, update your Privacera Manager platform instance by following the Restart Services section.

Comments