- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for podCIDR (0.11 sec)
-
pkg/controller/nodeipam/ipam/sync/sync.go
if err != nil { logger.Error(err, "Deleted node has an invalid podCIDR", "node", klog.KObj(op.node), "podCIDR", op.node.Spec.PodCIDR) sync.kubeAPI.EmitNodeWarningEvent(op.node.Name, InvalidPodCIDR, "Node %q has an invalid PodCIDR: %q", op.node.Name, op.node.Spec.PodCIDR) return nil } sync.set.Release(cidrRange)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 07:50:01 UTC 2023 - 12.6K bytes - Viewed (0) -
pkg/apis/core/v1/conversion_test.go
in v1.NodeSpec out core.NodeSpec }{ { name: "mismatched podCIDR", in: v1.NodeSpec{ PodCIDR: "10.0.0.0/24", PodCIDRs: []string{"10.0.1.0/24", "ace:cab:deca::/8"}, }, out: core.NodeSpec{ PodCIDRs: []string{"10.0.0.0/24"}, }, }, { name: "unset podCIDR", in: v1.NodeSpec{ PodCIDR: "", PodCIDRs: []string{"10.0.1.0/24", "ace:cab:deca::/8"}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 10 05:34:15 UTC 2023 - 21.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)