Required software:
- Docker
- kubectl
- kind
- helmfile
- helm
- helm-diff
kind create cluster \
--name workshop \
--image kindest/node:v1.29.1 \
--config kind.yaml
kubectl cluster-info \
--context kind-workshop
kubectl config use-context kind-workshop
helmfile sync
kubectl get secrets -n monitoring lgtm-grafana -o yaml | yq .data.admin-user | base64 -d
kubectl get secrets -n monitoring lgtm-grafana -o yaml | yq .data.admin-password | base64 -d
# open localhost:30000/grafana
make kind
make base
make lgtm
make otel-operator
make otel-instrumentation
make apps
benchmark springboot health check
ab -n 100 http://localhost:30000/springboot/hello
benchmark express health check
ab -n 100 http://localhost:30000/express/health
create an order
curl http://localhost:30000/springboot/orders -d '{"customer":"simoexpo", "product":"banana", "quantity": 10}' -H "Content-Type: application/json"
get orders
curl http://localhost:30000/springboot/orders