Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for hostnames (0.34 sec)

  1. pkg/proxy/ipvs/proxier_test.go

    	iptablestest "k8s.io/kubernetes/pkg/util/iptables/testing"
    	"k8s.io/kubernetes/test/utils/ktesting"
    	netutils "k8s.io/utils/net"
    	"k8s.io/utils/ptr"
    )
    
    const testHostname = "test-hostname"
    
    // fakeIpvs implements utilipvs.Interface
    type fakeIpvs struct {
    	ipvsErr   string
    	vsCreated bool
    }
    
    func (f *fakeIpvs) Flush() error {
    	return nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  2. cluster/gce/gci/configure-helper.sh

    # $3: value for variable 'server_port'
    # $4: value for variable 'cpulimit'
    # $5: pod name, which should be either etcd or etcd-events
    function prepare-etcd-manifest {
      local host_name=${ETCD_HOSTNAME:-$(hostname -s)}
    
      local resolve_host_script_py='
    import socket
    import time
    import sys
    
    timeout_sec=300
    
    def resolve(host):
      for attempt in range(timeout_sec):
        try:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet.go

    }
    
    // Kubelet is the main kubelet implementation.
    type Kubelet struct {
    	kubeletConfiguration kubeletconfiginternal.KubeletConfiguration
    
    	// hostname is the hostname the kubelet detected or was given via flag/config
    	hostname string
    	// hostnameOverridden indicates the hostname was overridden via flag/config
    	hostnameOverridden bool
    
    	nodeName        types.NodeName
    	runtimeCache    kubecontainer.RuntimeCache
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  4. pkg/proxy/nftables/proxier_test.go

    // Service ExternalIPs: 192.168.99.0/24
    // LoadBalancer IPs:    1.2.3.4, 5.6.7.8, 9.10.11.12
    // Non-cluster IPs:     203.0.113.0/24
    // LB Source Range:     203.0.113.0/25
    
    const testHostname = "test-hostname"
    const testNodeIP = "192.168.0.2"
    const testNodeIPAlt = "192.168.1.2"
    const testExternalIP = "192.168.99.11"
    const testNodeIPv6 = "2001:db8::1"
    const testNodeIPv6Alt = "2001:db8:1::2"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  5. pkg/printers/internalversion/printers.go

    	ingress := s.Ingress
    	result := sets.NewString()
    	for i := range ingress {
    		if ingress[i].IP != "" {
    			result.Insert(ingress[i].IP)
    		} else if ingress[i].Hostname != "" {
    			result.Insert(ingress[i].Hostname)
    		}
    	}
    
    	r := strings.Join(result.List(), ",")
    	if !wide && len(r) > loadBalancerWidth {
    		r = r[0:(loadBalancerWidth-3)] + "..."
    	}
    	return r
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  6. pkg/controller/job/job_controller_test.go

    					if p.GenerateName != "" {
    						t.Errorf("Got pod generate name %s, want %s", p.GenerateName, "")
    					}
    					if p.Spec.Hostname != "" {
    						t.Errorf("Got pod hostname %q, want none", p.Spec.Hostname)
    					}
    				}
    			}
    			if int32(len(fakePodControl.DeletePodName)) != tc.expectedDeletions {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    	if !found {
    		// In distributed setup, anonymized addr = 'poolNum.serverNum'
    		newHost := fmt.Sprintf("pool%d.server%d", poolNum, srvrNum)
    		schemePfx := endpoint.Scheme + "://"
    
    		// Hostname
    		mapIfNotPresent(hostAnonymizer, endpoint.Hostname(), newHost)
    
    		newHostPort := newHost
    		if len(endpoint.Port()) > 0 {
    			// Host + port
    			newHostPort = newHost + ":" + endpoint.Port()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  8. pkg/config/validation/validation_test.go

    		input    string
    		expected error
    	}{
    		{
    			input:    "foo",
    			expected: nil,
    		},
    		{
    			input:    "%HOSTNAME%",
    			expected: nil,
    		},
    		{
    			input:    "100%%",
    			expected: nil,
    		},
    		{
    			input:    "prefix %HOSTNAME% suffix",
    			expected: nil,
    		},
    		{
    			input:    "%DOWNSTREAM_PEER_CERT_V_END(%b %d %H:%M:%S %Y %Z)%",
    			expected: nil,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  9. pkg/printers/internalversion/printers_test.go

    					LoadBalancer: api.LoadBalancerStatus{
    						Ingress: []api.LoadBalancerIngress{
    							{
    								IP:       "2.3.4.5",
    								Hostname: "test.cluster.local",
    							},
    							{
    								IP:       "3.4.5.6",
    								Hostname: "test.cluster.com",
    							},
    						},
    					},
    				},
    			},
    			options: printers.GenerateOptions{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_test.go

    		TLSOptions:           tlsOptions,
    	}
    	crOptions := &config.ContainerRuntimeOptions{}
    
    	testMainKubelet, err := NewMainKubelet(
    		kubeCfg,
    		kubeDep,
    		crOptions,
    		"hostname",
    		false,
    		"hostname",
    		[]net.IP{},
    		"",
    		"external",
    		"/tmp/cert",
    		"/tmp/rootdir",
    		tempDir,
    		"",
    		"",
    		false,
    		[]v1.Taint{},
    		[]string{},
    		"",
    		false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
Back to top