istio.io/istio@v0.0.0-20240520182934-d79c90f27776/tests/testdata/config/static-weighted-se.yaml (about)

     1  apiVersion: networking.istio.io/v1alpha3
     2  kind: ServiceEntry
     3  metadata:
     4    name: httpbin
     5  spec:
     6    hosts:
     7      - weighted.static.svc.cluster.local
     8    ports:
     9      - number: 80
    10        name: http
    11        protocol: HTTP
    12    resolution: STATIC
    13    endpoints:
    14      - address: 3.3.3.3
    15        locality: a
    16      - address: 2.2.2.2
    17        locality: a
    18        weight: 8
    19      - address: 1.1.1.1
    20        locality: b
    21        weight: 3