Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 394 for Lmhosts (0.23 sec)

  1. pkg/config/analysis/analyzers/virtualservice/gateways.go

    	for i, h := range server.Hosts {
    		if strings.Contains(h, "/") {
    			parts := strings.Split(h, "/")
    			if parts[0] == "." {
    				server.Hosts[i] = fmt.Sprintf("%s/%s", namespace, parts[1])
    			} else if parts[0] == "*" {
    				if parts[1] == "*" {
    					server.Hosts = []string{"*"}
    					return
    				}
    				server.Hosts[i] = parts[1]
    			}
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 01:28:52 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/httproute.go

    	// Add the uniqueHost.
    	vhosts = appendDomainPort(vhosts, uniqueHostname, port)
    	if len(uniqueHostnameParts) == 2 {
    		// This is the case of uniqHostname having namespace already.
    		dnsHostName := uniqueHostname + "." + sharedDNSDomainParts[0]
    		vhosts = appendDomainPort(vhosts, dnsHostName, port)
    	}
    	return vhosts
    }
    
    // portNoAppendPortSuffix is a signal to not append port to vhost
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.7K bytes
    - Viewed (1)
  3. pilot/pkg/networking/core/route/route_test.go

    		}
    
    		vhosts := route.BuildSidecarVirtualHostWrapper(nil, node(cg), cg.PushContext(), serviceRegistry,
    			[]config.Config{virtualServiceWithGoogleWildcardHost}, 80, wildcardIndex,
    		)
    		// The service hosts (*.example.org and goodbye.hello.example.org) and the unattached VS host (*.google.com)
    		g.Expect(vhosts).To(HaveLen(3))
    		for _, vhost := range vhosts {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/route/route.go

    	wchosts := make([]host.Name, 0)
    
    	// As a performance optimization, process non wildcard hosts first, so that they can be
    	// looked up directly in the service registry map.
    	for _, hostname := range rule.Hosts {
    		vshost := host.Name(hostname)
    		if vshost.IsWildCarded() {
    			// We'll process wild card hosts later
    			wchosts = append(wchosts, vshost)
    			continue
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/gateway.go

    			virtualServiceHosts := host.NewNames(virtualService.Spec.(*networking.VirtualService).Hosts)
    			serverHosts := host.NamesForNamespace(server.Hosts, virtualService.Namespace)
    
    			// We have two cases here:
    			// 1. virtualService hosts are 1.foo.com, 2.foo.com, 3.foo.com and server hosts are ns/*.foo.com
    			// 2. virtualService hosts are *.foo.com, and server hosts are ns/1.foo.com, ns/2.foo.com, ns/3.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)
  6. pilot/pkg/config/kube/gateway/conversion.go

    					parent.OriginalReference.Name, ptr.OrDefault(parent.OriginalReference.Namespace, k8s.Namespace(obj.Namespace)), ctx.Domain)
    				vsHosts = []string{host}
    			}
    			routes = augmentTLSPortMatch(routes, parent.OriginalReference.Port, vsHosts)
    		}
    
    		for i, host := range vsHosts {
    			name := fmt.Sprintf("%s-tls-%d-%s", obj.Name, i, constants.KubernetesGatewayName)
    			filteredRoutes := routes
    			if parent.IsMesh() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/gateway_simulation_test.go

    		},
    	)
    }
    
    func TestGatewayConflicts(t *testing.T) {
    	tcpServer := `port:
      number: 80
      name: tcp
      protocol: TCP
    hosts:
    - "foo.bar"`
    	httpServer := `port:
      number: 80
      name: http
      protocol: HTTP
    hosts:
    - "foo.bar"`
    	tlsServer := `hosts:
      - ./*
    port:
      name: https-ingress
      number: 443
      protocol: HTTPS
    tls:
      credentialName: sds-credential
      mode: SIMPLE`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 18:27:40 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  8. internal/grid/connection_test.go

    				t.Errorf("shouldConnect(%q, %q) != shouldConnect(%q, %q)", hosts[x], hosts[y], hosts[y], hosts[x])
    			}
    			if c.shouldConnect() {
    				should++
    			}
    		}
    		if should < 10 {
    			t.Errorf("host %q only connects to %d hosts", hosts[x], should)
    		}
    		t.Logf("host %q should connect to %d hosts", hosts[x], should)
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/testdata/mesh.yaml.golden

        internal.istio.io/parents: Gateway/gateway/default.istio-system
      creationTimestamp: null
      name: gateway-istio-autogenerated-k8s-gateway-default
      namespace: istio-system
    spec:
      servers:
      - hosts:
        - '*/*.example.com'
        port:
          name: default
          number: 80
          protocol: HTTP
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      annotations:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 19 18:39:48 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/testdata/route-binding.yaml.golden

        internal.istio.io/parents: Gateway/gateway/default.istio-system
      creationTimestamp: null
      name: gateway-istio-autogenerated-k8s-gateway-default
      namespace: istio-system
    spec:
      servers:
      - hosts:
        - '*/*.domain.example'
        port:
          name: default
          number: 80
          protocol: HTTP
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: Gateway
    metadata:
      annotations:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 11 20:21:53 UTC 2023
    - 16.1K bytes
    - Viewed (1)
Back to top