Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,151 for gateway2 (0.1 sec)

  1. pilot/pkg/networking/core/gateway_test.go

    	cases := []struct {
    		name            string
    		gateways        []config.Config
    		virtualServices []config.Config
    	}{
    		{
    			name: "no sni overlap",
    			gateways: []config.Config{
    				{
    					Meta: config.Meta{Name: "gw", Namespace: "testns", GroupVersionKind: gvk.Gateway},
    					Spec: &networking.Gateway{
    						Servers: []*networking.Server{
    							{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  2. pilot/pkg/model/authorization_test.go

    				},
    			},
    		},
    		{
    			name: "targetRef is not a match",
    			selectionOpts: WorkloadPolicyMatcher{
    				Namespace: "bar",
    				WorkloadLabels: labels.Instance{
    					constants.GatewayNameLabel: "my-gateway2",
    				},
    			},
    			configs: []config.Config{
    				newConfig("authz-1", "bar", policyWithTargetRef),
    			},
    			wantAllow: nil,
    		},
    		{
    			name: "selector not match",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/gateway_simulation_test.go

    spec:
      hosts:
      - "*"
      gateways:
      - istio-system/gateway
      tcp:
      - route:
        - destination:
            host: productpage
            port:
              number: 9080
    `
    	runGatewayTest(t,
    		simulationTest{
    			name: "duplicate cross namespace gateway collision",
    			config: createGateway("gateway", "istio-system", tcpServer) +
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 18:27:40 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/virtualservice/gateways.go

    		}
    	}
    }
    
    func vsHostInGateway(c analysis.Context, gateway resource.FullName, vsHosts []string, vsNamespace string) bool {
    	var gatewayHosts []string
    	var gatewayNs string
    
    	c.ForEach(gvk.Gateway, func(r *resource.Instance) bool {
    		if r.Metadata.FullName == gateway {
    			s := r.Message.(*v1alpha3.Gateway)
    			gatewayNs = r.Metadata.FullName.Namespace.String()
    			for _, v := range s.Servers {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 01:28:52 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. pilot/pkg/model/gateway.go

    	autoPassthrough := false
    
    	log.Debugf("MergeGateways: merging %d gateways", len(gateways))
    	for _, gwAndInstance := range gateways {
    		gatewayConfig := gwAndInstance.gateway
    		gatewayName := gatewayConfig.Namespace + "/" + gatewayConfig.Name // Format: %s/%s
    		gatewayCfg := gatewayConfig.Spec.(*networking.Gateway)
    		log.Debugf("MergeGateways: merging gateway %q :\n%v", gatewayName, gatewayCfg)
    		snames := sets.String{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/gateway.go

    	virtualServices := lb.push.VirtualServicesForGateway(lb.node.ConfigNamespace, gateway)
    	if len(virtualServices) == 0 {
    		log.Warnf("no virtual service bound to gateway: %v", gateway)
    	}
    	for _, v := range virtualServices {
    		vsvc := v.Spec.(*networking.VirtualService)
    		// We have two cases here:
    		// 1. virtualService hosts are 1.foo.com, 2.foo.com, 3.foo.com and gateway's hosts are ns/*.foo.com
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/gateway/gateway.go

    	return analysis.Metadata{
    		Name:        "gateway.IngressGatewayPortAnalyzer",
    		Description: "Checks a gateway's ports against the gateway's Kubernetes service ports",
    		Inputs: []config.GroupVersionKind{
    			gvk.Gateway,
    			gvk.Pod,
    			gvk.Service,
    		},
    	}
    }
    
    // Analyze implements analysis.Analyzer
    func (s *IngressGatewayPortAnalyzer) Analyze(c analysis.Context) {
    	c.ForEach(gvk.Gateway, func(r *resource.Instance) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 08:48:06 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. pilot/pkg/xds/testdata/benchmarks/gateways.yaml

    {{- range $i := until .Services }}
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: vs-{{$i}}
      namespace: gateway
    spec:
      hosts:
      - random-a-{{$i}}.host.example
      - random-b-{{$i}}.host.example
      - random-c-{{$i}}.host.example
      gateways:
      - gateway/gateway-{{$i}}
      http:
      - match:
        - uri:
            prefix: "/route-{{$i}}"
        route:
        - destination:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 03 15:29:41 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  9. pilot/pkg/xds/testdata/benchmarks/knative-gateway.yaml

    ---
    {{- range $i := until .Services }}
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: hello-ingress-{{$i}}
      namespace: default
    spec:
      gateways:
      - knative-serving/knative-ingress-gateway
      - knative-serving/knative-local-gateway
      hosts:
      - hello.default
      - hello.default.external.domain
      - hello.default.svc
      - hello.default.svc.cluster.local
      http:
      - headers:
          request:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 19 16:50:51 UTC 2021
    - 5.1K bytes
    - Viewed (0)
  10. releasenotes/notes/gateway-api118.yaml

        Note that this only applies to the Kubernetes Gateway API, not the Istio `Gateway`.
        You can check if you are using this feature with the following command:
    
        {{< text bash >}}
        $ kubectl get gateways.gateway.networking.k8s.io -ojson | jq -r '.items[] | select(.spec.gatewayClassName == "istio") | select((.spec.addresses | length) == 0) | "Found managed gateway: " + .metadata.namespace + "/" + .metadata.name'
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 05 08:37:21 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top