Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 197 for HostPort (0.36 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/peerproxy/peerproxy_handler.go

    			// stop iteration
    			return false
    		}
    
    		hostPort, err := reconciler.GetEndpoint(apiserverKey)
    		if err != nil {
    			response.errorFetchingAddressFromLease = true
    			klog.Errorf("failed to get peer ip from storage lease for server %s", apiserverKey)
    			// continue with iteration
    			return true
    		}
    		// check ip format
    		_, _, err = net.SplitHostPort(hostPort)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 00:36:22 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceentry/store_test.go

    		instances:              map[instancesKey]map[configKeyWithParent][]*model.ServiceInstance{},
    		instancesBySE:          map[types.NamespacedName]map[configKey][]*model.ServiceInstance{},
    		instancesByHostAndPort: sets.Set[hostPort]{},
    	}
    	instances := []*model.ServiceInstance{
    		makeInstance(selector, "1.1.1.1", 444, selector.Spec.(*networking.ServiceEntry).Ports[0], nil, PlainText),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. pkg/kubelet/container/helpers.go

    func MakePortMappings(container *v1.Container) (ports []PortMapping) {
    	names := make(map[string]struct{})
    	for _, p := range container.Ports {
    		pm := PortMapping{
    			HostPort:      int(p.HostPort),
    			ContainerPort: int(p.ContainerPort),
    			Protocol:      p.Protocol,
    			HostIP:        p.HostIP,
    		}
    
    		// We need to determine the address family this entry applies to. We do this to ensure
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. cmd/net_test.go

    	testCases := []struct {
    		hostPort     string
    		expectedHost string
    		expectedPort string
    	}{
    		{":54321", "", "54321"},
    		{"server:54321", "server", "54321"},
    		{":0", "", "0"},
    		{"server:https", "server", "443"},
    		{"server:http", "server", "80"},
    	}
    
    	for _, testCase := range testCases {
    		host, port := mustSplitHostPort(testCase.hostPort)
    		if testCase.expectedHost != host {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.DaemonSet.json

                "args": [
                  "argsValue"
                ],
                "workingDir": "workingDirValue",
                "ports": [
                  {
                    "name": "nameValue",
                    "hostPort": 2,
                    "containerPort": 3,
                    "protocol": "protocolValue",
                    "hostIP": "hostIPValue"
                  }
                ],
                "envFrom": [
                  {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.Deployment.json

                "args": [
                  "argsValue"
                ],
                "workingDir": "workingDirValue",
                "ports": [
                  {
                    "name": "nameValue",
                    "hostPort": 2,
                    "containerPort": 3,
                    "protocol": "protocolValue",
                    "hostIP": "hostIPValue"
                  }
                ],
                "envFrom": [
                  {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 53.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.yaml

                port: portValue
              terminationGracePeriodSeconds: 7
              timeoutSeconds: 3
            name: nameValue
            ports:
            - containerPort: 3
              hostIP: hostIPValue
              hostPort: 2
              name: nameValue
              protocol: protocolValue
            readinessProbe:
              exec:
                command:
                - commandValue
              failureThreshold: 6
              grpc:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PodTemplate.yaml

              port: portValue
            terminationGracePeriodSeconds: 7
            timeoutSeconds: 3
          name: nameValue
          ports:
          - containerPort: 3
            hostIP: hostIPValue
            hostPort: 2
            name: nameValue
            protocol: protocolValue
          readinessProbe:
            exec:
              command:
              - commandValue
            failureThreshold: 6
            grpc:
              port: 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/extensions.v1beta1.ReplicaSet.yaml

                port: portValue
              terminationGracePeriodSeconds: 7
              timeoutSeconds: 3
            name: nameValue
            ports:
            - containerPort: 3
              hostIP: hostIPValue
              hostPort: 2
              name: nameValue
              protocol: protocolValue
            readinessProbe:
              exec:
                command:
                - commandValue
              failureThreshold: 6
              grpc:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/apps.v1.Deployment.json

                "args": [
                  "argsValue"
                ],
                "workingDir": "workingDirValue",
                "ports": [
                  {
                    "name": "nameValue",
                    "hostPort": 2,
                    "containerPort": 3,
                    "protocol": "protocolValue",
                    "hostIP": "hostIPValue"
                  }
                ],
                "envFrom": [
                  {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.5K bytes
    - Viewed (0)
Back to top