- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for podCIDR (0.13 sec)
-
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/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) -
cmd/kube-proxy/app/server_linux_test.go
}, Spec: v1.NodeSpec{ PodCIDR: "10.0.0.0/24", PodCIDRs: []string{"10.0.0.0/24", "2001:db2:1/64"}, }, } node := &v1.Node{ ObjectMeta: metav1.ObjectMeta{ Name: nodeName, ResourceVersion: "1", }, } updatedNode := node.DeepCopy() updatedNode.Spec.PodCIDRs = expected updatedNode.Spec.PodCIDR = expected[0] // start with the new node
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 28 15:51:23 UTC 2024 - 21.9K bytes - Viewed (0) -
pkg/kubelet/container/testing/runtime_mock.go
// UpdatePodCIDR mocks base method. func (m *MockRuntime) UpdatePodCIDR(ctx context.Context, podCIDR string) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "UpdatePodCIDR", ctx, podCIDR) ret0, _ := ret[0].(error) return ret0 } // UpdatePodCIDR indicates an expected call of UpdatePodCIDR. func (mr *MockRuntimeMockRecorder) UpdatePodCIDR(ctx, podCIDR any) *gomock.Call { mr.mock.ctrl.T.Helper()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 27K bytes - Viewed (0) -
common/scripts/kind_provisioner.sh
# Set up routing rules for inter-cluster direct pod to pod & service communication C1_POD_CIDR=$(KUBECONFIG="${C1_KUBECONFIG}" kubectl get node -ojsonpath='{.items[0].spec.podCIDR}') C2_POD_CIDR=$(KUBECONFIG="${C2_KUBECONFIG}" kubectl get node -ojsonpath='{.items[0].spec.podCIDR}') C1_SVC_CIDR=$(KUBECONFIG="${C1_KUBECONFIG}" kubectl cluster-info dump | sed -n 's/^.*--service-cluster-ip-range=\([^"]*\).*$/\1/p' | head -n 1)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 19:12:55 UTC 2024 - 17.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/node.yaml
name: node-default-pool-something resourceVersion: "211582541" selfLink: /api/v1/nodes/node-default-pool-something uid: 0c24d0e1-a265-11e9-abe4-42010a80026b spec: podCIDR: 10.0.0.1/24 providerID: some-provider-id-of-some-sort status: addresses: - address: 10.0.0.1 type: InternalIP - address: 192.168.0.1 type: ExternalIP - address: node-default-pool-something
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 20:22:50 UTC 2024 - 10.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/node.yaml
name: node-default-pool-something resourceVersion: "211582541" selfLink: /api/v1/nodes/node-default-pool-something uid: 0c24d0e1-a265-11e9-abe4-42010a80026b spec: podCIDR: 10.0.0.1/24 providerID: some-provider-id-of-some-sort status: addresses: - address: 10.0.0.1 type: InternalIP - address: 192.168.0.1 type: ExternalIP - address: node-default-pool-something
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 20:22:50 UTC 2024 - 10.8K bytes - Viewed (0) -
pkg/kubelet/apis/config/helpers_test.go
"MemoryManagerPolicy", "MemorySwap.SwapBehavior", "NodeLeaseDurationSeconds", "NodeStatusMaxImages", "NodeStatusUpdateFrequency.Duration", "NodeStatusReportFrequency.Duration", "OOMScoreAdj", "PodCIDR", "PodPidsLimit", "PodsPerCore", "Port", "ProtectKernelDefaults", "ProviderID", "ReadOnlyPort", "RegisterNode", "RegistryBurst", "RegistryPullQPS", "ReservedMemory",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 10.2K bytes - Viewed (0) -
pkg/kubelet/container/runtime.go
// ImageService provides methods to image-related methods. ImageService // UpdatePodCIDR sends a new podCIDR to the runtime. // This method just proxies a new runtimeConfig with the updated // CIDR value down to the runtime shim. UpdatePodCIDR(ctx context.Context, podCIDR string) error // CheckpointContainer tells the runtime to checkpoint a container
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 27.8K bytes - Viewed (0)