Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for weight (0.28 sec)

  1. istioctl/pkg/describe/describe_test.go

    VirtualService: bookinfo
       Route to host "productpage" with weight 30%
       Route to host "productpage2" with weight 20%
       Route to host "productpage3" with weight 50%
       Match: /prefix*
    --------------------
    Exposed on Ingress Gateway http://1.1.1.1
    Exposed on Ingress Gateway http://2.2.2.2
    VirtualService: bookinfo
       Route to host "productpage" with weight 30%
       Route to host "productpage2" with weight 20%
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  2. istioctl/pkg/validate/validate_test.go

    metadata:
      name: valid-virtual-service
    spec:
      hosts:
        - c
      http:
        - route:
          - destination:
              host: c
              subset: v1
            weight: 75
          - destination:
              host: c
              subset: v2
            weight: 25`
    	validVirtualServiceJSON = `{
    "apiVersion": "networking.istio.io/v1alpha3",
    "kind": "VirtualService",
    "metadata": {
    	"name": "valid-virtual-service"
    },
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
  3. istioctl/pkg/describe/describe.go

    					}
    					continue
    				}
    			}
    
    			match = true
    			if dest.Weight > 0 {
    				fact := fmt.Sprintf("Route to host \"%s\"", dest.Destination.Host)
    				if dest.Destination.Subset != "" {
    					fact = fmt.Sprintf("%s subset \"%s\"", fact, dest.Destination.Subset)
    				}
    				fact = fmt.Sprintf("%s with weight %d%%", fact, dest.Weight)
    				facts = append(facts, fact)
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top