This repository is a fork of the existing OpenTelemetry demo application, specifically used for creating Docker containers for the checkout service.
Two Docker containers have been created in tomondree/otel-demo-checkout with the following tags:
correct: Contains the checkout service with correct payment service configurationincorrect: Contains the checkout service with incorrect payment service configuration
These containers are used in our simulation scenario:
- The
correcttag represents the previous deployment state - The
incorrecttag represents the current deployment state - After analysis is completed, the
incorrectrevision is rolled back to ensure proper functionality
The containers are available at:
tomondree/otel-demo-checkout:correcttomondree/otel-demo-checkout:incorrect
To deploy the containers in Kubernetes, use the following commands:
- Deploy the correct version (without revision message):
kubectl set image deployment/checkout checkout=tomondree/otel-demo-checkout:correct -n customer-environment- Deploy the incorrect version (with DNS update message):
kubectl set image deployment/checkout checkout=tomondree/otel-demo-checkout:incorrect -n customer-environment && kubectl annotate deployment/checkout kubernetes.io/change-cause="Checkout DNS has been updated" -n customer-environmentTo verify the deployment history and revision messages:
kubectl rollout history deployment/checkout -n customer-environment