Install APIClarity
Install APIClarity in a K8s cluster using Helm
-
Add the Helm repository.
-
Save the default chart values into the
values.yaml
file.Note: The file values.yaml is used to deploy and configure APIClarity on your cluster via Helm. This ConfigMap is used to define the list of headers to ignore when reconstructing the spec.
-
Update
values.yaml
with the required traffic source values. -
Deploy APIClarity with Helm.
-
Port forward to the APIClarity UI:
-
Open the APIClarity UI in your browser at
http://localhost:9999/
-
Generate some traffic in the traced applications, for example, using a demo application.
-
Check the APIClarity UI.
Uninstall APIClarity from Kubernetes using Helm
-
Uninstall the Helm deployment.
-
Clean the resources. By default, Helm will not remove the PVCs and PVs for the StatefulSets. Run the following command to delete them all:
Build from source
-
Build and push the image to your repo:
-
Update values.yaml accordingly.
Run locally with demo data
-
Build the UI and the backend locally.
-
Copy the built site:
-
Run the backend and frontend locally using demo data:
Note: You might need to delete the old local state file and local db:
Note: this command requires a proper KUBECONFIG in your environment when K8S_LOCAL=true is used. If you want to run without Kubernetes, use ENABLE_K8S=false instead.
-
Open the APIClarity UI in your browser at:
http://localhost:8080/