- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 280 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
} if len(testInput.PodCIDR) > 0 && coreNodeSpec.PodCIDRs[0] != testInput.PodCIDR { t.Errorf("%v:Convert v1.NodeSpec to core.NodeSpec failed. expected coreNodeSpec.PodCIDRs[0]=%v found %v", i, testInput.PodCIDR, coreNodeSpec.PodCIDRs[0]) } // match ip list for idx := range testInput.PodCIDRs { if coreNodeSpec.PodCIDRs[idx] != testInput.PodCIDRs[idx] {
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
if len(node.Spec.PodCIDRs) == 0 { 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.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 10:06:15 UTC 2024 - 16.2K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodespec.go
// NodeSpecApplyConfiguration represents an declarative configuration of the NodeSpec type for use // with apply. type NodeSpecApplyConfiguration struct { PodCIDR *string `json:"podCIDR,omitempty"` PodCIDRs []string `json:"podCIDRs,omitempty"` ProviderID *string `json:"providerID,omitempty"`
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
return err } // 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) -
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) -
cmd/kube-proxy/app/server_linux.go
if s.Config.DetectLocalMode == proxyconfigapi.LocalModeNodeCIDR { logger.Info("Watching for node, awaiting podCIDR allocation", "hostname", s.Hostname) node, err := waitForPodCIDR(ctx, s.Client, s.Hostname) if err != nil { return err } s.podCIDRs = node.Spec.PodCIDRs logger.Info("NodeInfo", "podCIDRs", node.Spec.PodCIDRs) } err := s.setupConntrack(ctx) if err != nil { return err } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 08 13:48:54 UTC 2024 - 18.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/core.v1.Node.yaml
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 status:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 2.8K 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.json
"time": "2004-01-01T01:01:01Z", "fieldsType": "fieldsTypeValue", "fieldsV1": {}, "subresource": "subresourceValue" } ] }, "spec": { "podCIDR": "podCIDRValue", "podCIDRs": [ "podCIDRsValue" ], "providerID": "providerIDValue", "unschedulable": true, "taints": [ { "key": "keyValue", "value": "valueValue",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 3.9K bytes - Viewed (0)