Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 208 for HostPort (0.11 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. cmd/kubeadm/app/util/endpoint_test.go

    			hostport:      "cp.k8s.io:-987654321",
    			expectedError: true,
    		},
    		{
    			name:          "invalid port(out of range, negative port number)",
    			hostport:      "cp.k8s.io:123:123",
    			expectedError: true,
    		},
    		{
    			name:          "invalid dns",
    			hostport:      "bad!!cp.k8s.io",
    			expectedError: true,
    		},
    		{
    			name:          "invalid valid dns:port",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 23 03:19:26 UTC 2019
    - 10K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerport.go

    	return b
    }
    
    // WithHostPort sets the HostPort field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the HostPort field is set to the value of the last call.
    func (b *ContainerPortApplyConfiguration) WithHostPort(value int32) *ContainerPortApplyConfiguration {
    	b.HostPort = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 3.3K bytes
    - Viewed (0)
Back to top