Pixie allows you to connect multiple Kubernetes clusters to a single Pixie Cloud instance. The main advantage of such a deployment is that you can monitor all your Kubernetes clusters from a single point.
This guide explains how to share a Pixie Cloud instance across multiple Pixie deployments.
Note the IP address assigned to the Ingress Controller service. All requests to the Pixie Cloud will be sent through this.
E.g. The following image shows the services created in the namespace where the NGINX Ingress Controller was installed. Note the IP address in the EXTERNAL-IP column of the ingress-nginx-controller Load Balancer service.
2. Create DNS A records
Two DNS A records need to be created pointing to the NGINX Ingress controller IP address obtained above.
Suppose that your Pixie custom domain name is pixie.example.com and the IP address obtained above is a.b.c.d. Two A records need to be created as follows.
A TLS certificate is required for the custom domains that you wish to use with Pixie.
Suppose that your Pixie custom domain name is pixie.example.com. You need to obtain a single certificate that is valid for both pixie.example.com and work.pixie.example.com. Finally, create a Kubernetes secret (of type kubernetes.io/tls) named cloud-proxy-tls-certs in the plc namespace using the certificate.
One way to obtain it is by creating a Let's Encrypt certificate using cert-manager. Securing NGINX-ingress tutorial from cert-manager has detailed information about the process.
Here are sample resources that can be used with cert-manager: