- Containerized vibe.d web app with multi-stage build
- Example implementation to support distributed tracing of service meshes
App
App Graph
Trace
- Kubernetes
- Istio(
istioctl
)
Download istioctl
Install Istio
istioctl install --set profile=demo --skip-confirmation
istioctl verify-install
Install addons
kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.14/samples/addons/prometheus.yaml
kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.14/samples/addons/jaeger.yaml
kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.14/samples/addons/kiali.yaml
kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.14/samples/addons/grafana.yaml
kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.14/samples/addons/extras/zipkin.yaml
Services
docker build -t weather-service:v1 ./services/weather
docker build -t weather-service:v2 --build-arg BUILD_CONFIG=VERSION_2 ./services/weather
docker build -t weather-service:v3 --build-arg BUILD_CONFIG=VERSION_3 ./services/weather
Web
docker build -t web:v1 ./web
kubectl create namespace weather
kubectl label namespace weather istio-injection=enabled
kubectl apply -n weather -f example.yaml
- Access to http://localhost:30000
- Search some location (allow any text)
istioctl dashboard kiali
istioctl dashboard jaeger
istioctl dashboard grafana