Prashant Shahi 44416df5dc
chore(hotrod): 🔧 update README docs
Signed-off-by: Prashant Shahi <prashant@signoz.io>
2023-07-11 12:30:49 +05:30

1.0 KiB

HotROD Sample Application (Kubernetes)

Follow the steps in this section to install a sample application named HotR.O.D, and generate tracing data.

kubectl create ns sample-application

kubectl -n sample-application apply -f https://github.com/SigNoz/signoz/raw/develop/sample-apps/hotrod/hotrod.yaml

In case, you have installed SigNoz in namespace other than platform or selected Helm release name other than my-release, follow the steps below:

export HELM_RELEASE=my-release-2
export SIGNOZ_NAMESPACE=platform-2
export HOTROD_NAMESPACE=sample-application-2

curl -sL https://github.com/SigNoz/signoz/raw/develop/sample-apps/hotrod/hotrod-install.sh | bash

To delete sample application:

export HOTROD_NAMESPACE=sample-application-2

curl -sL https://github.com/SigNoz/signoz/raw/develop/sample-apps/hotrod/hotrod-delete.sh | bash

For testing with local scripts, you can use the following commands:

# To install hotrod
cat hotrod-install.sh | bash

# To delete hotrod
cat hotrod-delete.sh | bash