- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,369 for Pods (0.05 sec)
-
pilot/pkg/serviceregistry/kube/controller/pod.go
// just in case the proxy ID is bad formatted pods := pc.getPodsByIP(proxyIP) switch len(pods) { case 0: return nil case 1: return pods[0] default: // This should only happen with hostNetwork pods, which cannot be proxy clients... log.Errorf("unexpected: found multiple pods for proxy %v (%v)", proxy.ID, proxyIP) // Try to handle it gracefully for _, p := range pods { // At least filter out wrong namespaces...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 10.8K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue_test.go
}{ { name: "create, update, delete subset of pods", podsToAdd: []*v1.Pod{pods[0], pods[1], pods[2], pods[3]}, expectedMapAfterAdd: map[string]*framework.QueuedPodInfo{ util.GetPodFullName(pods[0]): {PodInfo: mustNewTestPodInfo(t, pods[0]), UnschedulablePlugins: sets.New[string]()}, util.GetPodFullName(pods[1]): {PodInfo: mustNewTestPodInfo(t, pods[1]), UnschedulablePlugins: sets.New[string]()},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 146.9K bytes - Viewed (0) -
staging/src/k8s.io/api/extensions/v1beta1/types.go
// can have their pods stopped for an update at any given time. The update // starts by stopping at most 30% of those DaemonSet pods and then brings // up new DaemonSet pods in their place. Once the new pods are available, // it then proceeds onto other DaemonSet pods, thus ensuring that at least // 70% of original number of DaemonSet pods are available at all times during // the update. // +optional
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:29 UTC 2023 - 61.3K bytes - Viewed (0) -
pkg/kube/krt/bench_test.go
} c.pods = kclient.New[*v1.Pod](cl) c.services = kclient.New[*v1.Service](cl) c.queue = controllers.NewQueue("pods", controllers.WithReconciler(c.Reconcile)) c.pods.AddEventHandler(controllers.ObjectHandler(c.queue.AddObject)) c.services.AddEventHandler(controllers.FromEventHandler(func(e controllers.Event) { o := e.Latest()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 09 19:55:53 UTC 2024 - 7K bytes - Viewed (0) -
cni/README.md
1. By running as a node-level daemonset that: - listens for these UDS events from the CNI plugin (which fire when new pods are spawned in an ambient-enabled namespace), and adds those pods to the ambient mesh. - watches k8s resource for existing pods, so that pods that have already been started can be moved in or out of the ambient mesh.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 03 19:29:42 UTC 2024 - 12.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go
podCount := 1000 var pods []*example.Pod for i := 0; i < podCount; i++ { obj := &example.Pod{ObjectMeta: metav1.ObjectMeta{Name: fmt.Sprintf("pod-%d", i)}} key := computePodKey(obj) storedObj := &example.Pod{} err := store.Create(ctx, key, obj, storedObj, 0) if err != nil { t.Fatalf("Set failed: %v", err) } pods = append(pods, storedObj) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 91.4K bytes - Viewed (0) -
pkg/kubelet/pleg/generic_test.go
pleg := newTestGenericPLEGWithRuntimeMock(runtimeMock) ch := pleg.Watch() pods, statuses, events := createTestPodsStatusesAndEvents(2) runtimeMock.EXPECT().GetPods(ctx, true).Return(pods, nil).AnyTimes() runtimeMock.EXPECT().GetPodStatus(ctx, pods[0].ID, "", "").Return(statuses[0], nil).Times(1) // Inject an error when querying runtime for the pod status for pods[1]. statusErr := fmt.Errorf("unable to get status")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 24.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
} // Get a list of pods that have data directories. func (kl *Kubelet) listPodsFromDisk() ([]types.UID, error) { podInfos, err := os.ReadDir(kl.getPodsDir()) if err != nil { return nil, err } pods := []types.UID{} for i := range podInfos { if podInfos[i].IsDir() { pods = append(pods, types.UID(podInfos[i].Name())) } } return pods, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
pkg/scheduler/util/pod_resources.go
// of computing priority only. This ensures that when scheduling zero-request pods, such // pods will not all be scheduled to the node with the smallest in-use request, // and that when scheduling regular pods, such pods will not see zero-request pods as // consuming no resources whatsoever. We chose these values to be similar to the // resources that we give to cluster addon pods (#10653). But they are pretty arbitrary.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 01 06:25:30 UTC 2023 - 3K bytes - Viewed (0) -
pkg/controller/garbagecollector/garbagecollector_test.go
"GET" + "/api/v1/namespaces/ns1/pods/rc1Pod1": { 200, serilizeOrDie(t, rc1Pod1), }, "GET" + "/api/v1/namespaces/ns1/pods/rc1Pod2": { 200, serilizeOrDie(t, rc1Pod2), }, "GET" + "/api/v1/namespaces/ns1/pods/rc2Pod1": { 200, serilizeOrDie(t, rc2Pod1), }, "GET" + "/api/v1/namespaces/ns1/pods/rc3Pod1": { 200, serilizeOrDie(t, rc3Pod1),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.6K bytes - Viewed (0)