Review Pixie's requirements to make sure that your Kubernetes cluster is supported.
Determine if you already have Operator Lifecycle Manager (OLM) deployed to your cluster, possibly to the default
olm namespace. Pixie uses the Kubernetes Operator pattern to manage its Vizier, which handles data collection and query execution (see the Architecture diagram). The OLM is used to install, update and manage the Vizier Operator.
Visit our product page and sign up with your google or gsuite account.
If you don't have a Kubernetes cluster available, you can set up Minikube as a local sandbox environment following these instructions.
The easiest way to install Pixie's CLI is using the install script:
# Copy and run command to install the Pixie CLI.bash -c "$(curl -fsSL https://withpixie.ai/install.sh)"
For alternate install options (Docker, Debian package, RPM, direct download of the binary) see the CLI Install page.
To deploy Pixie using the CLI:
# List Pixie deployment options.px deploy --help# Deploy the Pixie Platform in your K8s cluster (No OLM present on cluster).px deploy# Deploy the Pixie Platform in your K8s cluster (OLM already exists on cluster).px deploy --deploy_olm=false
Pixie deploys the following pods to your cluster. Note that the number of
vizier-pem pods correlates with the number of nodes in your cluster, so your deployment may contain more PEM pods.
NAMESPACE NAMEolm catalog-operatorolm olm-operatorpl kelvinpl nats-operatorpl pl-nats-1pl vizier-certmgrpl vizier-cloud-connectorpl vizier-metadatapl vizier-pempl vizier-pempl vizier-proxypl vizier-query-brokerpx-operator 77003c9dbf251055f0bb3e36308fe05d818164208a466a15d27acfddeejt7tqpx-operator pixie-operator-indexpx-operator vizier-operator
To deploy Pixie to another cluster, change your
kubectl config current-context to point to that cluster. Then repeat the same deploy commands shown in this step.
Deploy a simple demo app to monitor using Pixie:
# List available demo apps.px demo list# Example: deploy Weaveworks' "sock-shop".px demo deploy px-sock-shop
This demo application takes several minutes to stabilize after deployment.
To check the status of the application's pods, run:
kubectl get pods -n px-sock-shop
px run to run a script to demonstrate observability. The
demo_script script shows the latency and request path of http traffic hitting your cluster.
# List built-in scriptspx scripts list# Run a scriptpx run px/demo_script
For more information, checkout our CLI guide.
Open Pixie's Live UI in a new tab.
For more information, check out our Live UI guide.
Learn how to use Pixie for