Enable Diagnostics in D2P¶
This document provides instructions to enable the Privacera Diagnostics Tool in Data Plane (D2P) deployments. The Diagnostics Tool is disabled by default in Data Plane deployments.
The Privacera Diagnostics Tool operates only in SSL mode.
ALB Configuration
- If ALB is NOT deployed: Set
DIAG_SERVER_K8S_SVC_TYPE: "ClusterIP"and use port-forwarding to access the diagnostics server (see Access Diagnostics Server section below). - If ALB is deployed: You can omit or comment out the
DIAG_SERVER_K8S_SVC_TYPEvariable. Access the diagnostics server URL from the normal post-install process. The ALB will handle the routing and SSL termination automatically.
Setup¶
-
Copy the
vars.privacera-diagnostics.ymlfile fromconfig/sample-varstoconfig/custom-varsand edit the file -
Add or edit the following variables
-
Generate the Helm charts
-
Apply the Helm charts
Bash -
Run the post-installation steps
Bash -
Verify that the Diagnostics Tool is enabled by checking the pod status
Bash
Access Diagnostics Server¶
Access Method Based on ALB Deployment
The access method depends on whether ALB is deployed in your environment.
ALB-disabled environments¶
When DIAG_SERVER_K8S_SVC_TYPE is set to "ClusterIP", the diagnostics server is only accessible within the Kubernetes cluster. To access it from outside the cluster, use kubectl port-forward:
-
Get the diagnostics server pod name
Bash -
Port forward to access diagnostics server
Bash -
Access the diagnostics server
Text Only
Replace the following placeholders
- Replace
<K8S_NAMESPACE>with your actual Kubernetes namespace - Replace
<DIAGNOSTICS_SERVER_POD_NAME>with the actual pod name - Replace
<POD_IP>with the pod IP (get it using:kubectl get pods -n <K8S_NAMESPACE> -l app=diagnostics-server -o wide)
SSL Certificate Warning
The diagnostics server uses a self-signed certificate, so browsers will show a "Not Secure" warning when accessing via pod IP with port-forward.
ALB-enabled environments¶
Access the diagnostics server URL from the normal post-install process. The ALB will handle the routing and SSL termination automatically. No SSL warning will appear when accessing through ALB with proper ACM certificate configured.
For more information about using the Diagnostics Tool, refer to the Privacera Diagnostics Tool Overview.