A ten percent canary

Complete the manifest

Difficulty 1 of 3Not solved yet

Finish the HTTPRoute so that it attaches to the http listener of the shared Gateway in infra, matches every path under /checkout, and sends 10 percent of those requests to checkout-v2.

Your first answer is the one that counts. After a miss you can try again, or ask for the answer.

apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: checkout
namespace: store
spec:
:
- name: shared
namespace: infra
: http
hostnames:
- store.example.com
rules:
- matches:
- path:
type:
value: /checkout
backendRefs:
- name: checkout-v1
port: 8080
weight: 90
- name: checkout-v2
port: 8080
weight: