Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for generateSearchesForDNSClusterFirst (0.37 sec)

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

    	dnsConfig.Servers = c.formDNSNameserversFitsLimits(dnsConfig.Servers, pod)
    	dnsConfig.Searches = c.formDNSSearchFitsLimits(dnsConfig.Searches, pod)
    	return dnsConfig
    }
    
    func (c *Configurer) generateSearchesForDNSClusterFirst(hostSearch []string, pod *v1.Pod) []string {
    	if c.ClusterDomain == "" {
    		return hostSearch
    	}
    
    	nsSvcDomain := fmt.Sprintf("%s.svc.%s", pod.Namespace, c.ClusterDomain)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 04 11:37:10 UTC 2023
    - 16.1K bytes
    - Viewed (0)
Back to top