- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 480 for Pods (0.07 sec)
-
pkg/controller/daemon/daemon_controller.go
return nil, err } // List all pods to include those that don't match the selector anymore but // have a ControllerRef pointing to this controller. pods, err := dsc.podLister.Pods(ds.Namespace).List(labels.Everything()) if err != nil { return nil, err } // If any adoptions are attempted, we should first recheck for deletion with // an uncached quorum read sometime after listing Pods (see #42639).
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 51.3K bytes - Viewed (0) -
pkg/controller/tainteviction/taint_eviction_test.go
pods, err := c.CoreV1().Pods(corev1.NamespaceAll).List(ctx, metav1.ListOptions{ FieldSelector: selector.String(), LabelSelector: labels.Everything().String(), }) if err != nil { return []*corev1.Pod{}, fmt.Errorf("failed to get Pods assigned to node %v", nodeName) } rPods := make([]*corev1.Pod, len(pods.Items)) for i := range pods.Items { rPods[i] = &pods.Items[i] }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 31.3K bytes - Viewed (0) -
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/metrics/metrics.go
Name: "pending_pods", Help: "Number of pending pods, by the queue type. 'active' means number of pods in activeQ; 'backoff' means number of pods in backoffQ; 'unschedulable' means number of pods in unschedulablePods that the scheduler attempted to schedule and failed; 'gated' is the number of unschedulable pods that the scheduler never attempted to schedule because they are gated.", StabilityLevel: metrics.STABLE,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 08:22:53 UTC 2024 - 11.1K 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) -
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) -
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) -
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/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/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)