Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for tcpWeightSum (2.62 sec)

  1. pilot/pkg/config/kube/gateway/conversion.go

    				},
    			})
    		}
    	}
    	return vs
    }
    
    func convertTCPRoute(ctx configContext, r k8salpha.TCPRouteRule, obj config.Config, enforceRefGrant bool) (*istio.TCPRoute, *ConfigError) {
    	if tcpWeightSum(r.BackendRefs) == 0 {
    		// The spec requires us to reject connections when there are no >0 weight backends
    		// We don't have a great way to do it. TODO: add a fault injection API for TCP?
    		return &istio.TCPRoute{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top