Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 329 for HostIP (0.09 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/types.go

    	// +optional
    	Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`
    
    	// IP address of the host to which the carp is assigned. Empty if not yet scheduled.
    	// +optional
    	HostIP string `json:"hostIP,omitempty" protobuf:"bytes,5,opt,name=hostIP"`
    	// IP address allocated to the carp. Routable at least within the cluster.
    	// Empty if not yet allocated.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top