( Assumes SignalFx Smart Agent is installed as Daemonset according to:
https://signalfx.github.io/observability-workshop/latest/smartagent/k3s/#2-use-helm-to-deploy-agent
Git, Java 8 or above, Maven, Docker.
#Git clone https://github.com/ddesjardins-splunk/javashop-otel
cd ot-k8s-java
#Add to k8s
kubectl apply -f shop/shop.yaml
kubectl apply -f products/products.yaml
kubectl apply -f stock/stock.yaml
#Find nodePort for shop service
kubectl get svc
#take note of the port for the shop service use that as SHOP_SERVICE_PORT below
#Open in browser - t http://<YOUR_NODE_IP>:<SHOP_SERVICE_PORT>/?name=MyName&color=Blue
cd shop
Mvn clean install
docker build -t YourNameHere/shabu-shop:1.0 .
#login to docker
docker push YourNameHere/shabu-shop:1.0
vi shop/shop.yaml # Add your image name above YourNameHere/shabu-shop:1.0 to the shop.yaml file.
kubectl apply -f shop/shop.yaml