March 2020
Intermediate to advanced
626 pages
14h 45m
English
In the following example, we'll show you how to use HTTP path-based routing to direct traffic between two versions of a service. For example, /v1 will route traffic to the A service, while /v2 will route traffic to the B service. Let's get started:
$ kubectl -n consul delete -f 11-web-deployment.yaml$ kubectl -n consul delete -f 12-api-v1-deployment.yaml$ kubectl -n consul delete -f 13-api-v2-deployment.yaml
$ consul config list -kind service-defaultsapicountingdashboardweb
$ consul config read -kind service-defaults ...
Read now
Unlock full access