Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 349 for HostIP (0.11 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/hostip.go

    package v1
    
    // HostIPApplyConfiguration represents an declarative configuration of the HostIP type for use
    // with apply.
    type HostIPApplyConfiguration struct {
    	IP *string `json:"ip,omitempty"`
    }
    
    // HostIPApplyConfiguration constructs an declarative configuration of the HostIP type for use with
    // apply.
    func HostIP() *HostIPApplyConfiguration {
    	return &HostIPApplyConfiguration{}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:43:16 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerport.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 *ContainerPortApplyConfiguration) WithHostIP(value string) *ContainerPortApplyConfiguration {
    	b.HostIP = &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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tools/istio-iptables/pkg/config/config.go

    	}
    	// Detect whether IPv6 is enabled by checking if the pod's IP address is IPv4 or IPv6.
    	// TODO remove this check, it will break with more than one pod IP
    	hostIP, isIPv6, err := getLocalIP(c.DualStack)
    	if err != nil {
    		return err
    	}
    
    	c.HostIP = hostIP
    	c.EnableIPv6 = isIPv6
    
    	// Lookup DNS nameservers. We only do this if DNS is enabled in case of some obscure theoretical
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. pkg/scheduler/internal/cache/cache_test.go

    		makeBasePod(t, nodeName, "test-resource-request-and-port-1", "100m", "500", "", []v1.ContainerPort{{HostIP: "127.0.0.1", HostPort: 80, Protocol: "TCP"}}),
    		makeBasePod(t, nodeName, "test-resource-request-and-port-2", "200m", "1Ki", "", []v1.ContainerPort{{HostIP: "127.0.0.1", HostPort: 8080, Protocol: "TCP"}}),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 63.8K bytes
    - Viewed (0)
  10. 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)
Back to top