Skip to content

Multi-version service deployment pattern

The Multi-version service deployment pattern refers to the practice of running multiple versions of a specific service component simultaneously within a distributed system^[400-devops-07-monitoring-and-observability-k8s-istio-samples-bookinfo-readme.md]. This approach allows different iterations of the same application logic—for example, v1, v2, and v3—to coexist and handle traffic at the same time^[400-devops-07-monitoring-and-observability-k8s-istio-samples-bookinfo-readme.md].

Implementation in Containerized Environments

In containerized environments managed by orchestration platforms like Kubernetes, this pattern is typically implemented through distinct resources for each version^[400-devops-07-monitoring-and-observability-k8s-istio-samples-bookinfo-readme.md]. Administrators deploy separate objects, such as deployment.apps/reviews-v1 and deployment.apps/reviews-v2, which results in individual pods running the different code versions concurrently^[400-devops-07-monitoring-and-observability-k8s-istio-samples-bookinfo-readme.md].

Operational Verification

Successfully employing this pattern requires verification that all deployed versions are operational before directing traffic^[400-devops-07-monitoring-and-observability-k8s-istio-samples-bookinfo-readme.md]. System operators typically monitor the status of pods to ensure they reach a Running state, indicating that the multiple versions are active and ready to serve requests^[400-devops-07-monitoring-and-observability-k8s-istio-samples-bookinfo-readme.md].

Sources

^[400-devops-07-monitoring-and-observability-k8s-istio-samples-bookinfo-readme.md]