Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 197 for HostPort (0.14 sec)

  1. pkg/scheduler/framework/plugins/nodeports/node_ports_test.go

    				{
    					ContainerPort: 8001,
    					HostPort:      8001,
    					Protocol:      v1.ProtocolTCP,
    				},
    				{
    					ContainerPort: 8002,
    					HostPort:      8002,
    					Protocol:      v1.ProtocolTCP,
    				},
    				{
    					ContainerPort: 8003,
    					HostPort:      8003,
    					Protocol:      v1.ProtocolTCP,
    				},
    				{
    					ContainerPort: 8004,
    					HostPort:      8004,
    					Protocol:      v1.ProtocolTCP,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 11:02:11 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  2. pkg/api/pod/warnings_test.go

    						Ports: []api.ContainerPort{
    							{ContainerPort: 80, HostPort: 80, Protocol: api.ProtocolUDP},
    							{ContainerPort: 180, HostPort: 80, Protocol: api.ProtocolUDP},
    							{ContainerPort: 80, HostPort: 80, Protocol: api.ProtocolUDP},
    						},
    					},
    					{
    						Name: "foo",
    						Ports: []api.ContainerPort{
    							{ContainerPort: 80, HostPort: 80, Protocol: api.ProtocolUDP},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  3. src/net/ipsock.go

    		if bytealg.IndexByteString(host, ':') >= 0 {
    			return addrErr(hostport, tooManyColons)
    		}
    	}
    	if bytealg.IndexByteString(hostport[j:], '[') >= 0 {
    		return addrErr(hostport, "unexpected '[' in address")
    	}
    	if bytealg.IndexByteString(hostport[k:], ']') >= 0 {
    		return addrErr(hostport, "unexpected ']' in address")
    	}
    
    	port = hostport[i+1:]
    	return host, port, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/webhook/authentication.go

    	ClientConfigForFunc        func(hostPort string) (*rest.Config, error)
    	ClientConfigForServiceFunc func(serviceName, serviceNamespace string, servicePort int) (*rest.Config, error)
    }
    
    // ClientConfigFor returns client config for given hostPort.
    func (a *AuthenticationInfoResolverDelegator) ClientConfigFor(hostPort string) (*rest.Config, error) {
    	return a.ClientConfigForFunc(hostPort)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. pkg/apis/core/v1/validation/validation_test.go

    		accumulator *sets.String
    		fldPath     *field.Path
    	}{{
    		name: "HostPort is not allocated while containers use the same port with different protocol",
    		containers: []v1.Container{{
    			Ports: []v1.ContainerPort{{
    				HostPort: 8080,
    				Protocol: v1.ProtocolUDP,
    			}},
    		}, {
    			Ports: []v1.ContainerPort{{
    				HostPort: 8080,
    				Protocol: v1.ProtocolTCP,
    			}},
    		}},
    		accumulator: &sets.String{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/serviceentry/store.go

    		s.instancesByHostAndPort.Delete(hostPort{ikey, i.ServicePort.Port})
    		oldInstances := s.instances[ikey][key]
    		delete(s.instances[ikey], key)
    		if len(s.instances[ikey]) == 0 {
    			delete(s.instances, ikey)
    		}
    		delete(s.ip2instance, i.Endpoint.Address)
    		// Cleanup stale IPs, if the IPs changed
    		for _, oi := range oldInstances {
    			s.instancesByHostAndPort.Delete(hostPort{ikey, oi.ServicePort.Port})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/endpoint.go

    func ParseHostPort(hostport string) (string, string, error) {
    	var host, port string
    	var err error
    
    	// try to split host and port
    	if host, port, err = net.SplitHostPort(hostport); err != nil {
    		// if SplitHostPort returns an error, the entire hostport is considered as host
    		host = hostport
    	}
    
    	// if port is defined, parse and validate it
    	if port != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 11 15:08:59 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  8. cluster/gce/manifests/konnectivity-server.yaml

          timeoutSeconds: 60
        ports:
        - name: agentport
          containerPort: {{ agent_port }}
          hostPort: {{ agent_port }}
        - name: healthport
          containerPort: {{ health_port }}
          hostPort: {{ health_port }}
        - name: adminport
          containerPort: {{ admin_port }}
          hostPort: {{ admin_port }}
        volumeMounts:
        - name: varlogkonnectivityserver
          mountPath: /var/log/konnectivity-server.log
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 10:31:11 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/types_test.go

    				v1.ResourceCPU:    "100m",
    				v1.ResourceMemory: "500",
    			}).ContainerPort([]v1.ContainerPort{{
    				HostIP:   "127.0.0.1",
    				HostPort: 80,
    				Protocol: "TCP",
    			}}).Obj()}).
    			Obj(),
    
    		st.MakePod().UID("test-2").Namespace("node_info_cache_test").Name("test-2").Node(nodeName).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  10. pilot/cmd/pilot-agent/status/util/stats.go

    	// If the localHostAddr was not set, we use 'localhost' to void empty host in URL.
    	if localHostAddr == "" {
    		localHostAddr = "localhost"
    	}
    
    	hostPort := net.JoinHostPort(localHostAddr, strconv.Itoa(int(adminPort)))
    	readinessURL := fmt.Sprintf("http://%s/stats?usedonly&filter=%s", hostPort, readyStatsRegex)
    	stats, err := http.DoHTTPGetWithTimeout(readinessURL, readinessTimeout)
    	if err != nil {
    		return nil, false, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 21 15:50:49 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top