Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 470 for hostnames (0.25 sec)

  1. pkg/kubelet/network/dns/dns_test.go

    			Namespace:   "testNS",
    			Annotations: map[string]string{},
    		},
    	}
    
    	testCases := []struct {
    		desc         string
    		hostNames    []string
    		resultSearch []string
    		events       []string
    	}{
    		{
    			desc:         "valid: 3 search paths",
    			hostNames:    []string{"testNS.svc.TEST", "svc.TEST", "TEST"},
    			resultSearch: []string{"testNS.svc.TEST", "svc.TEST", "TEST"},
    			events:       []string{},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/endpointslice.go

    	// update.
    	e.endpointsByServiceAndSlice[hostname][slice] = endpoints
    }
    
    func (e *endpointSliceCache) Delete(hostname host.Name, slice string) {
    	e.mu.Lock()
    	defer e.mu.Unlock()
    	e.delete(hostname, slice)
    }
    
    func (e *endpointSliceCache) delete(hostname host.Name, slice string) {
    	delete(e.endpointsByServiceAndSlice[hostname], slice)
    	if len(e.endpointsByServiceAndSlice[hostname]) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. pkg/kubelet/certificate/kubelet.go

    		},
    	)
    	legacyregistry.MustRegister(certificateRotationAge)
    
    	getTemplate := func() *x509.CertificateRequest {
    		hostnames, ips := addressesToHostnamesAndIPs(getAddresses())
    		// don't return a template if we have no addresses to request for
    		if len(hostnames) == 0 && len(ips) == 0 {
    			return nil
    		}
    		return &x509.CertificateRequest{
    			Subject: pkix.Name{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:16 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. tests/integration/pilot/gateway_test.go

    metadata:
      name: gateway
    spec:
      gatewayClassName: istio
      listeners:
      - name: default
        hostname: "*.example.com"
        port: 80
        protocol: HTTP
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: http-1
    spec:
      parentRefs:
      - name: gateway
      hostnames: ["bar.example.com"]
      rules:
      - backendRefs:
        - name: b
          port: 80
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  5. pkg/dns/client/dns.go

    	return response
    }
    
    func generateAltHosts(hostname string, nameinfo *dnsProto.NameTable_NameInfo, proxyNamespace, proxyDomain string,
    	proxyDomainParts []string,
    ) sets.String {
    	out := sets.New[string]()
    	if strings.HasSuffix(hostname, ".") {
    		return out
    	}
    	out.Insert(hostname + ".")
    	// do not generate alt hostnames if the service is in a different domain (i.e. cluster) than the proxy
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 16:17:34 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/gateway/testdata/route-binding.status.yaml.golden

    metadata:
      creationTimestamp: null
      name: host-mismatch
      namespace: default
    spec: null
    status:
      parents:
      - conditions:
        - lastTransitionTime: fake
          message: no hostnames matched parent hostname "*.foobar.example"
          reason: NoMatchingListenerHostname
          status: "False"
          type: Accepted
        - lastTransitionTime: fake
          message: All references resolved
          reason: ResolvedRefs
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 20:48:23 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  7. pilot/pkg/model/network.go

    				"Set RESOLVE_HOSTNAME_GATEWAYS on istiod to enable resolving hostnames in the control plane.",
    				gw.Addr)
    			continue
    		}
    		hostnameGateways[gw.Addr] = append(hostnameGateways[gw.Addr], gw)
    		names.Insert(gw.Addr)
    	}
    
    	if !features.ResolveHostnameGateways {
    		return resolvedGatewaySet
    	}
    	// resolve each hostname
    	for host, addrs := range mgr.NameCache.Resolve(names) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  8. cmd/endpoint.go

    			}
    		}
    	}
    	return ""
    }
    
    // Hostnames - returns list of unique hostnames
    func (l EndpointServerPools) Hostnames() []string {
    	foundSet := set.NewStringSet()
    	for _, ep := range l {
    		for _, endpoint := range ep.Endpoints {
    			if foundSet.Contains(endpoint.Hostname()) {
    				continue
    			}
    			foundSet.Add(endpoint.Hostname())
    		}
    	}
    	return foundSet.ToSlice()
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  9. pilot/pkg/model/sidecar.go

    // can be a wildcard.
    func (sc *SidecarScope) ServicesForHostname(hostname host.Name) []*Service {
    	if !hostname.IsWildCarded() {
    		if svc, f := sc.servicesByHostname[hostname]; f {
    			return []*Service{svc}
    		}
    		return nil
    	}
    	services := make([]*Service, 0)
    	for _, svc := range sc.services {
    		if hostname.Matches(svc.Hostname) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  10. pilot/pkg/xds/ads_test.go

    	}
    	addService := func(ns string, indexes ...int) {
    		var hostnames []string
    		for _, i := range indexes {
    			hostnames = append(hostnames, fmt.Sprintf("svc%d%s", i, svcSuffix))
    		}
    		addServiceByNames(ns, hostnames...)
    	}
    
    	addServiceInstance := func(hostname host.Name, indexes ...int) {
    		for _, i := range indexes {
    			s.MemRegistry.AddEndpoint(hostname, "http-main", 2080, "192.168.1.10", i)
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top