Маршрутизация трафика — VirtualService istio

Роутинг 80% трафика на v1, 20% на v2 (канарейка)

kubectl apply -f - <<EOF apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: myapp spec: hosts: - myapp http: - route: - destination: host: myapp subset: v1 weight: 80 - destination: host: myapp subset: v2 weight: 20 EOF
more istio all 19 commands →