Skip to content

Elastic File System (EFS) for Privacera Services#

Prerequisite#

Ensure the following prerequisite is met:

  • Create a EFS and make it available in the Kubernetes cluster. For more information, refer the AWS documentation - Amazon EFS CSI driver.

Configuration#

  1. Run the following commands.

    cd ~/privacera/privacera-manager/config
    cp sample-vars/vars.efs.yml custom-vars/
    vi custom-vars/vars.efs.yml
    
  2. Edit the following property.

    EFS_FSID: "<PLEASE_CHANGE>"
    
  3. (Optional) If you want Privacera Manager to use the existing storage class objects, update the storage class name for each service below:

    DB_MARIADB_K8S_SC_NAME: "<PLEASE_CHANGE>"
    AUDIT_FLUENTD_K8S_SC_NAME: "<PLEASE_CHANGE>"
    TRINO_WORKER_K8S_SC_NAME: "<PLEASE_CHANGE>"
    DISCOVERY_K8S_SC_NAME: "<PLEASE_CHANGE>"
    GRAFANA_K8S_SC_NAME: "<PLEASE_CHANGE>"
    ZOOKEEPER_K8S_SC_NAME: "<PLEASE_CHANGE>"
    SOLR_K8S_SC_NAME: "<PLEASE_CHANGE>"
    PRIVACERA_USERSYNC_K8S_SC_NAME: "<PLEASE_CHANGE>"
    PRIVACERA_USERSYNC_ROCKSDB_K8S_SC_NAME: "<PLEASE_CHANGE>"
    POLICYSYNC_V2_K8S_SC_NAME: "<PLEASE_CHANGE>"
    POLICYSYNC_V2_ROCKSDB_K8S_SC_NAME: "<PLEASE_CHANGE>"
    POLICYSYNC_K8S_SC_NAME: "<PLEASE_CHANGE>"
    POLICYSYNC_ROCKSDB_K8S_SC_NAME: "<PLEASE_CHANGE>"
    AUDITSERVER_K8S_SC_NAME: "<PLEASE_CHANGE>"
    GRAPHITE_K8S_SC_NAME: "<PLEASE_CHANGE>"
    ELASTICSEARCH_K8S_SC_NAME: "<PLEASE_CHANGE>"
    
  4. Run the update.

    cd ~/privacera/privacera-manager
    ./privacera-manager.sh update
    

Last update: September 24, 2021