Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for podCIDR (0.16 sec)

  1. pkg/kubelet/kubelet_network.go

    func (kl *Kubelet) updatePodCIDR(ctx context.Context, cidr string) (bool, error) {
    	kl.updatePodCIDRMux.Lock()
    	defer kl.updatePodCIDRMux.Unlock()
    
    	podCIDR := kl.runtimeState.podCIDR()
    
    	if podCIDR == cidr {
    		return false, nil
    	}
    
    	// kubelet -> generic runtime -> runtime shim -> network plugin
    	// docker/non-cri implementations have a passthrough UpdatePodCIDR
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 13:02:13 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodespec.go

    }
    
    // WithPodCIDR sets the PodCIDR 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 PodCIDR field is set to the value of the last call.
    func (b *NodeSpecApplyConfiguration) WithPodCIDR(value string) *NodeSpecApplyConfiguration {
    	b.PodCIDR = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. pkg/proxy/node.go

    	"sync"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/proxy/config"
    	"k8s.io/kubernetes/pkg/proxy/healthcheck"
    )
    
    // NodePodCIDRHandler handles the life cycle of kube-proxy based on the node PodCIDR assigned
    // Implements the config.NodeHandler interface
    // https://issues.k8s.io/111321
    type NodePodCIDRHandler struct {
    	mu       sync.Mutex
    	podCIDRs []string
    	logger   klog.Logger
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top