Skip to main content

Privacera Documentation

Restrict access in Kubernetes on Privacera Platform

You can restrict access to a Zookeeper pod in a Kubernetes environment. You can also enable or disable a range of source IPs that can access a Zookeeper pod.

  1. Create vars.zk-access.yml file.

    cd ~/privacera/privacera-manager
    vi config/custom-vars/vars.zk-access.yml
  2. Add the following property and enter the correct network CIDR Address. For example: 172.20.0.0/16.

    ZOOKEEPER_K8S_NETWORKING_LOADBALANCER_SOURCE_RANGES:-"<PLEASE_UPDATE>"
  3. Run the following command.

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