Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for podCIDR (0.85 sec)

  1. pkg/controller/nodeipam/ipam/range_allocator.go

    				logger.V(4).Info("Node has no CIDR, ignoring", "node", klog.KObj(&node))
    				continue
    			}
    			logger.V(4).Info("Node has CIDR, occupying it in CIDR map", "node", klog.KObj(&node), "podCIDR", node.Spec.PodCIDR)
    			if err := ra.occupyCIDRs(&node); err != nil {
    				// This will happen if:
    				// 1. We find garbage in the podCIDRs field. Retrying is useless.
    				// 2. CIDR out of range: This means a node CIDR has changed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 10:06:15 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. pkg/apis/core/v1/conversion.go

    	}
    	// If both fields (v1.PodCIDRs and v1.PodCIDR) are provided and differ, then PodCIDR is authoritative for compatibility with older clients
    	if (len(in.PodCIDR) > 0 && len(in.PodCIDRs) > 0) && (in.PodCIDR != in.PodCIDRs[0]) {
    		out.PodCIDRs = []string{in.PodCIDR}
    	}
    
    	// at the this point, autoConvert copied v1.PodCIDRs -> core.PodCIDRs
    	// if v1.PodCIDRs was empty but v1.PodCIDR is not, then set core.PodCIDRs[0] with v1.PodCIDR
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:30:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. cmd/kube-proxy/app/server_linux.go

    	}
    	return 0, nil
    }
    
    func waitForPodCIDR(ctx context.Context, client clientset.Interface, nodeName string) (*v1.Node, error) {
    	// since allocators can assign the podCIDR after the node registers, we do a watch here to wait
    	// for podCIDR to be assigned, instead of assuming that the Get() on startup will have it.
    	ctx, cancelFunc := context.WithTimeout(ctx, timeoutForNodePodCIDR)
    	defer cancelFunc()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  4. pkg/controller/nodeipam/ipam/sync/sync_test.go

    	}
    }
    
    var nodeWithoutCIDRRange = &v1.Node{
    	ObjectMeta: metav1.ObjectMeta{Name: "node1"},
    }
    
    var nodeWithCIDRRange = &v1.Node{
    	ObjectMeta: metav1.ObjectMeta{Name: "node1"},
    	Spec:       v1.NodeSpec{PodCIDR: "10.1.1.0/24"},
    }
    
    func TestNodeSyncUpdate(t *testing.T) {
    	t.Parallel()
    
    	for _, tc := range []struct {
    		desc string
    		mode NodeSyncMode
    		node *v1.Node
    		fake fakeAPIs
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.Node.yaml

        configMap:
          kubeletConfigKey: kubeletConfigKeyValue
          name: nameValue
          namespace: namespaceValue
          resourceVersion: resourceVersionValue
          uid: uidValue
      externalID: externalIDValue
      podCIDR: podCIDRValue
      podCIDRs:
      - podCIDRsValue
      providerID: providerIDValue
      taints:
      - effect: effectValue
        key: keyValue
        timeAdded: "2004-01-01T01:01:01Z"
        value: valueValue
      unschedulable: true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.Node.json

            "time": "2004-01-01T01:01:01Z",
            "fieldsType": "fieldsTypeValue",
            "fieldsV1": {},
            "subresource": "subresourceValue"
          }
        ]
      },
      "spec": {
        "podCIDR": "podCIDRValue",
        "podCIDRs": [
          "podCIDRsValue"
        ],
        "providerID": "providerIDValue",
        "unschedulable": true,
        "taints": [
          {
            "key": "keyValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Node.json

            "time": "2004-01-01T01:01:01Z",
            "fieldsType": "fieldsTypeValue",
            "fieldsV1": {},
            "subresource": "subresourceValue"
          }
        ]
      },
      "spec": {
        "podCIDR": "podCIDRValue",
        "podCIDRs": [
          "podCIDRsValue"
        ],
        "providerID": "providerIDValue",
        "unschedulable": true,
        "taints": [
          {
            "key": "keyValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/HEAD/core.v1.Node.json

            "time": "2004-01-01T01:01:01Z",
            "fieldsType": "fieldsTypeValue",
            "fieldsV1": {},
            "subresource": "subresourceValue"
          }
        ]
      },
      "spec": {
        "podCIDR": "podCIDRValue",
        "podCIDRs": [
          "podCIDRsValue"
        ],
        "providerID": "providerIDValue",
        "unschedulable": true,
        "taints": [
          {
            "key": "keyValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:06:39 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/core.v1.Node.yaml

        configMap:
          kubeletConfigKey: kubeletConfigKeyValue
          name: nameValue
          namespace: namespaceValue
          resourceVersion: resourceVersionValue
          uid: uidValue
      externalID: externalIDValue
      podCIDR: podCIDRValue
      podCIDRs:
      - podCIDRsValue
      providerID: providerIDValue
      taints:
      - effect: effectValue
        key: keyValue
        timeAdded: "2004-01-01T01:01:01Z"
        value: valueValue
      unschedulable: true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:06:39 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Node.yaml

        configMap:
          kubeletConfigKey: kubeletConfigKeyValue
          name: nameValue
          namespace: namespaceValue
          resourceVersion: resourceVersionValue
          uid: uidValue
      externalID: externalIDValue
      podCIDR: podCIDRValue
      podCIDRs:
      - podCIDRsValue
      providerID: providerIDValue
      taints:
      - effect: effectValue
        key: keyValue
        timeAdded: "2004-01-01T01:01:01Z"
        value: valueValue
      unschedulable: true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top