- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 591 for Pods (0.04 sec)
-
istioctl/pkg/kubeinject/kubeinject.go
podList, err := client.Pods(namespace).List(context.TODO(), options) if err != nil { return nil, err } pods := make([]*corev1.Pod, 0, len(podList.Items)) for i := range podList.Items { pod := podList.Items[i] pods = append(pods, &pod) } if len(pods) > 0 { sort.Sort(sortBy(pods)) return pods[0], nil } return nil, fmt.Errorf("no pods matching selector %q found in namespace %q", selector, namespace)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 29 02:29:02 UTC 2024 - 21.6K bytes - Viewed (0) -
pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go
pods []*v1.Pod } tests := []struct { name string args args want []podShutdownGroup }{ { name: "migrate config", args: args{ shutdownGracePeriodByPodPriority: migrateConfig(300*time.Second /* shutdownGracePeriodRequested */, 120*time.Second /* shutdownGracePeriodCriticalPods */), pods: []*v1.Pod{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 29.8K bytes - Viewed (0) -
manifests/charts/gateways/istio-ingress/values.yaml
# Default node tolerations to be applied to all deployments so that all pods can be # scheduled to a particular nodes with matching taints. Each component can overwrite # these default values by adding its tolerations block in the relevant section below # and setting the desired values. # Configure this field in case that all pods of Istio control plane are expected to
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 27 16:55:16 UTC 2024 - 13K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go
test: "fits when node volume limit >= new pods CSI volume", limitSource: "node", }, { newPod: csiEBSOneVolPod, existingPods: []*v1.Pod{runningPod, csiEBSTwoVolPod}, filterName: "csi", maxVols: 2, driverNames: []string{ebsCSIDriverName}, test: "doesn't when node volume limit <= pods CSI volume", limitSource: "node",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 18:07:11 UTC 2024 - 28.6K bytes - Viewed (0) -
pkg/scheduler/framework/preemption/preemption_test.go
}, expected: [][]Candidate{ { &candidate{ victims: &extenderv1.Victims{ Pods: []*v1.Pod{st.MakePod().Name("p1").UID("p1").Node("node1").Priority(midPriority).Obj()}, }, name: "node1", }, &candidate{ victims: &extenderv1.Victims{ Pods: []*v1.Pod{st.MakePod().Name("p2").UID("p2").Node("node2").Priority(midPriority).Obj()}, }, name: "node2",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 18.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher_test.go
{ name: "None of the current objects match watchKey: sync with empty page", watchKey: "/pods/test/", watcherMaxLimit: 1, expectGetCount: 1, }, { name: "The number of current objects is less than defaultWatcherMaxLimit: sync with one page", watchKey: "/pods/", watcherMaxLimit: 3, expectEventCount: 2, expectGetCount: 1, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 12.3K bytes - Viewed (1) -
istioctl/pkg/multixds/gather.go
) const ( // Service account to create tokens in tokenServiceAccount = "default" // Get the pods with limit = 500. kubeClientGetPodLimit = 500 ) type ControlPlaneNotFoundError struct { Namespace string } func (c ControlPlaneNotFoundError) Error() string { return fmt.Sprintf("no running Istio pods in %q", c.Namespace) } var _ error = ControlPlaneNotFoundError{} type Options struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 08 08:38:19 UTC 2024 - 13.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/audit/policy/checker_test.go
APIVersion: "v1", Resource: "pods", Subresource: "log", Name: "busybox", ResourceRequest: true, Path: "/api/v1/namespaces/default/pods/busybox", }, "Unauthorized": &authorizer.AttributesRecord{ Verb: "get", Namespace: "default", APIGroup: "", // Core APIVersion: "v1", Resource: "pods", Name: "busybox",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 12 15:06:14 UTC 2021 - 15.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go
apiserver_watch_cache_read_wait_seconds_bucket{resource="pods",le="0.6"} 1 apiserver_watch_cache_read_wait_seconds_bucket{resource="pods",le="0.8"} 1 apiserver_watch_cache_read_wait_seconds_bucket{resource="pods",le="1"} 1 apiserver_watch_cache_read_wait_seconds_bucket{resource="pods",le="1.25"} 1 apiserver_watch_cache_read_wait_seconds_bucket{resource="pods",le="1.5"} 1
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 35.4K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/desired_state_of_world.go
} func (dsw *desiredStateOfWorld) GetPodsWithErrors() []types.UniquePodName { dsw.RLock() defer dsw.RUnlock() pods := make([]types.UniquePodName, 0, len(dsw.podErrors)) for podName := range dsw.podErrors { pods = append(pods, podName) } return pods } func (dsw *desiredStateOfWorld) MarkVolumeAttachability(volumeName v1.UniqueVolumeName, attachable bool) { dsw.Lock() defer dsw.Unlock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 27.1K bytes - Viewed (0)