Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for HostIP (0.18 sec)

  1. pkg/api/pod/warnings_test.go

    						{ContainerPort: 80, Protocol: api.ProtocolUDP, HostIP: "10.0.0.1"},
    					},
    				}},
    			}},
    			expected: []string{
    				`spec.containers[0].ports[1]: overlapping port definition with spec.containers[0].ports[0]`,
    				`spec.containers[0].ports[1]: hostIP set without hostPort: {Name: HostPort:0 ContainerPort:80 Protocol:UDP HostIP:10.0.0.1}`,
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/types_test.go

    			Containers([]v1.Container{st.MakeContainer().ResourceRequests(map[v1.ResourceName]string{
    				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)
  3. pkg/api/pod/warnings.go

    						warnings = append(warnings, fmt.Sprintf("%s: overlapping port definition with %s", fldPath.Child("ports").Index(i), other.field))
    					} else if a, b := port.HostIP == "", other.port.HostIP == ""; port.HostPort == other.port.HostPort && ((a || b) && !(a && b)) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/nodeports/node_ports_test.go

    			name:             "first tcp port conflict due to 0.0.0.0 hostIP",
    			wantFilterStatus: framework.NewStatus(framework.Unschedulable, ErrReason),
    		},
    		{
    			pod: newPod("m1", "TCP/10.0.10.10/8001", "TCP/0.0.0.0/8001"),
    			nodeInfo: framework.NewNodeInfo(
    				newPod("m1", "TCP/127.0.0.1/8001")),
    			name:             "TCP hostPort conflict due to 0.0.0.0 hostIP",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 11:02:11 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/core/v1/podstatus.go

    	return b
    }
    
    // WithHostIP sets the HostIP 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 HostIP field is set to the value of the last call.
    func (b *PodStatusApplyConfiguration) WithHostIP(value string) *PodStatusApplyConfiguration {
    	b.HostIP = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:43:16 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/zz_generated.conversion.go

    	out.Phase = testapigroup.CarpPhase(in.Phase)
    	out.Conditions = *(*[]testapigroup.CarpCondition)(unsafe.Pointer(&in.Conditions))
    	out.Message = in.Message
    	out.Reason = in.Reason
    	out.HostIP = in.HostIP
    	out.CarpIP = in.CarpIP
    	out.StartTime = (*metav1.Time)(unsafe.Pointer(in.StartTime))
    	return nil
    }
    
    // Convert_v1_CarpStatus_To_testapigroup_CarpStatus is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 11.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/example/v1/zz_generated.conversion.go

    	out.Phase = example.PodPhase(in.Phase)
    	out.Conditions = *(*[]example.PodCondition)(unsafe.Pointer(&in.Conditions))
    	out.Message = in.Message
    	out.Reason = in.Reason
    	out.HostIP = in.HostIP
    	out.PodIP = in.PodIP
    	out.StartTime = (*metav1.Time)(unsafe.Pointer(in.StartTime))
    	return nil
    }
    
    // Convert_v1_PodStatus_To_example_PodStatus is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 10.6K bytes
    - Viewed (0)
  8. pkg/kubelet/container/helpers.go

    			Protocol:      p.Protocol,
    			HostIP:        p.HostIP,
    		}
    
    		// We need to determine the address family this entry applies to. We do this to ensure
    		// duplicate containerPort / protocol rules work across different address families.
    		// https://github.com/kubernetes/kubernetes/issues/82373
    		family := "any"
    		if p.HostIP != "" {
    			if utilsnet.IsIPv6String(p.HostIP) {
    				family = "v6"
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Pod.yaml

          tcpSocket:
            host: hostValue
            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: Thu Apr 18 08:52:25 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.yaml

          tcpSocket:
            host: hostValue
            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: Wed May 29 22:40:29 UTC 2024
    - 33.6K bytes
    - Viewed (0)
Back to top