Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for lmhosts (0.21 sec)

  1. pkg/config/validation/validation.go

    			}
    		}
    
    		// Check for duplicate hosts
    		// Duplicates include literal duplicates as well as wildcard duplicates
    		// E.g., *.foo.com, and *.com are duplicates in the same virtual service
    		if allHostsValid {
    			for i := 0; i < len(virtualService.Hosts); i++ {
    				hostI := host.Name(virtualService.Hosts[i])
    				for j := i + 1; j < len(virtualService.Hosts); j++ {
    					hostJ := host.Name(virtualService.Hosts[j])
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods.go

    		}
    	}
    
    	return devices, nil
    }
    
    // shouldMountHostsFile checks if the nodes /etc/hosts should be mounted
    // Kubernetes only mounts on /etc/hosts if:
    // - container is not an infrastructure (pause) container
    // - container is not already mounting on /etc/hosts
    // Kubernetes will not mount /etc/hosts if:
    // - when the Pod sandbox is being created, its IP is still unknown. Hence, PodIP will not have been set.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods_test.go

    			hostAliases:   []v1.HostAlias{},
    			rawHostsFileContent: `# hosts file for testing.
    127.0.0.1	localhost
    ::1	localhost ip6-localhost ip6-loopback
    fe00::0	ip6-localnet
    fe00::0	ip6-mcastprefix
    fe00::1	ip6-allnodes
    fe00::2	ip6-allrouters
    123.45.67.89	some.domain
    `,
    			expectedHostsFileContent: `# Kubernetes-managed hosts file (host network).
    # hosts file for testing.
    127.0.0.1	localhost
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_test.go

    	}
    }
    
    func withClusterLocalHosts(m *meshconfig.MeshConfig, hosts ...string) *meshconfig.MeshConfig { // nolint:interfacer
    	m.ServiceSettings = append(append(make([]*meshconfig.MeshConfig_ServiceSettings, 0), m.ServiceSettings...),
    		&meshconfig.MeshConfig_ServiceSettings{
    			Settings: &meshconfig.MeshConfig_ServiceSettings_Settings{
    				ClusterLocal: true,
    			},
    			Hosts: hosts,
    		})
    	return m
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  5. cluster/gce/util.sh

        # create the kubelet client cert with the correct groups
        echo '{"CN":"kubelet","names":[{"O":"system:nodes"}],"hosts":[""],"key":{"algo":"rsa","size":2048}}' | "${CFSSL_BIN}" gencert -ca=pki/ca.crt -ca-key=pki/private/ca.key -config=ca-config.json - | "${CFSSLJSON_BIN}" -bare kubelet
        mv "kubelet-key.pem" "pki/private/kubelet.key"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  6. pkg/printers/internalversion/printers.go

    		{Name: "Class", Type: "string", Description: "The name of the IngressClass resource that should be used for additional configuration"},
    		{Name: "Hosts", Type: "string", Description: "Hosts that incoming requests are matched against before the ingress rule"},
    		{Name: "Address", Type: "string", Description: "Address is a list containing ingress points for the load-balancer"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet.go

    	// ensure this is kept in sync with internal cadvisor housekeeping.
    	evictionMonitoringPeriod = time.Second * 10
    
    	// The path in containers' filesystems where the hosts file is mounted.
    	linuxEtcHostsPath   = "/etc/hosts"
    	windowsEtcHostsPath = "C:\\Windows\\System32\\drivers\\etc\\hosts"
    
    	// Capacity of the channel for receiving pod lifecycle events. This number
    	// is a bit arbitrary and may be adjusted in the future.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  8. src/net/http/server.go

    	c.lastMethod = req.Method
    	c.r.setInfiniteReadLimit()
    
    	hosts, haveHost := req.Header["Host"]
    	isH2Upgrade := req.isH2Upgrade()
    	if req.ProtoAtLeast(1, 1) && (!haveHost || len(hosts) == 0) && !isH2Upgrade && req.Method != "CONNECT" {
    		return nil, badRequestError("missing required Host header")
    	}
    	if len(hosts) == 1 && !httpguts.ValidHostHeader(hosts[0]) {
    		return nil, badRequestError("malformed Host header")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  9. pkg/printers/internalversion/printers_test.go

    				Ingress: []networking.IngressLoadBalancerIngress{
    					{
    						IP:       "2.3.4.5",
    						Hostname: "localhost.localdomain",
    					},
    				},
    			},
    		},
    	}
    	// Columns: Name, Hosts, Address, Ports, Age
    	expected := []metav1.TableRow{{Cells: []interface{}{"test1", "foo", "*", "2.3.4.5", "80", "10y"}}}
    
    	rows, err := printIngress(&ingress, printers.GenerateOptions{})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
Back to top