Skip to content

Discovery (Kubernetes Mode)#

This section provides setup instructions for Privacera Discovery for a Kubernetes based deployment.

Prerequisites#

Ensure the following prerequisite is met:

  • Privacera services must be deployed using Kubernetes.
  • Embedded Spark must be used.

UI Configuration#

  1. Launch PM UI. For more information on how to start PM UI, click here.

  2. In the left navigation of the PM UI, navigate to Setup Environment > Products and Services > Discovery and select Embedded Spark.

  3. Navigate to Setup Discovery > Configure Embedded Spark. For property details and description, refer to the Configuration Properties below.

  4. To install/update, go to Install in the left navigation, and click Install & Start Services.

CLI Configuration#

  1. SSH to the instance where Privacera is installed.
  2. Run the following commands.

    cd ~/privacera/privacera-manager
    cp config/sample-vars/vars.discovery.kubernetes.yml config/custom-vars/
    vi custom-vars/vars.discovery.kubernetes.yml
    
  3. Set value for the following. For property details and description, refer to the Configuration Properties below.

    DISCOVERY_K8S_SPARK_MASTER: "${PLEASE_CHANGE}"
    

Configuration Properties#

To get the value of the variable, do the following:

  1. Get the URL for Kubernetes master by executing kubectl cluster-info command.

  2. Copy the Kubernetes control plane URL and paste it.