- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,369 for Pods (0.07 sec)
-
istioctl/pkg/injector/injector-list.go
"istio.io/istio/pkg/kube" "istio.io/istio/pkg/kube/inject" "istio.io/istio/pkg/slices" "istio.io/istio/pkg/util/sets" ) type revisionCount struct { // pods in a revision pods int // pods that are disabled from injection disabled int // pods that are enabled for injection, but whose revision doesn't match their namespace's revision needsRestart int } func Cmd(cliContext cli.Context) *cobra.Command {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 04 03:08:06 UTC 2024 - 10.4K bytes - Viewed (0) -
pkg/kubelet/apis/podresources/server_v1alpha1_test.go
mockCtrl := gomock.NewController(t) defer mockCtrl.Finish() for _, tc := range []struct { desc string pods []*v1.Pod devices []*podresourcesv1.ContainerDevices expectedResponse *v1alpha1.ListPodResourcesResponse }{ { desc: "no pods", pods: []*v1.Pod{}, devices: []*podresourcesv1.ContainerDevices{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 3.9K bytes - Viewed (0) -
pkg/kubelet/kubelet_getters_test.go
assert.Equal(t, exp, got) got = kubelet.getPodVolumeDeviceDir("abc123", "plugin") exp = filepath.Join(root, "pods/abc123/volumeDevices/plugin") assert.Equal(t, exp, got) got = kubelet.getPodPluginsDir("abc123") exp = filepath.Join(root, "pods/abc123/plugins") assert.Equal(t, exp, got) got = kubelet.getPodPluginDir("abc123", "foobar")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 00:48:07 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/controller/volume/ephemeral/controller_test.go
podKey: podKey(testPodWithEphemeral), }, { name: "pod-deleted", pods: func() []*v1.Pod { deleted := metav1.Now() pods := []*v1.Pod{testPodWithEphemeral.DeepCopy()} pods[0].DeletionTimestamp = &deleted return pods }(), podKey: podKey(testPodWithEphemeral), }, { name: "no-volumes", pods: []*v1.Pod{testPod}, podKey: podKey(testPod), }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 8.5K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue.go
} // NominatedPodsForNode returns a copy of pods that are nominated to run on the given node, // but they are waiting for other pods to be removed from the node. func (npm *nominator) NominatedPodsForNode(nodeName string) []*framework.PodInfo { npm.lock.RLock() defer npm.lock.RUnlock() // Make a copy of the nominated Pods so the caller can mutate safely. pods := make([]*framework.PodInfo, len(npm.nominatedPods[nodeName]))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 61.4K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/helper/spread_test.go
name: "GetPodServices for pod-0", pod: pods[0], expect: []*v1.Service{services[0]}, }, { name: "GetPodServices for pod-1", pod: pods[1], expect: []*v1.Service{services[1]}, }, { name: "GetPodServices for pod-2", pod: pods[2], expect: []*v1.Service{services[2]}, }, { name: "GetPodServices for pod-3", pod: pods[3], expect: nil, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 05 17:48:55 UTC 2022 - 2.5K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 06 15:01:41 UTC 2024 - 6.2K bytes - Viewed (0) -
common-protos/k8s.io/api/policy/v1beta1/generated.proto
// A null selector selects no pods. // An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. // In policy/v1, an empty selector will select all pods in the namespace. // +optional optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2; // An eviction is allowed if at most "maxUnavailable" pods selected by
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 19.6K bytes - Viewed (0) -
pkg/scheduler/internal/cache/debugger/dumper.go
nodeData.WriteString(fmt.Sprintf("Node name: %s\nDeleted: %t\nRequested Resources: %+v\nAllocatable Resources:%+v\nScheduled Pods(number: %v):\n", name, n.Node() == nil, n.Requested, n.Allocatable, len(n.Pods))) // Dumping Pod Info for _, p := range n.Pods { nodeData.WriteString(printPod(p.Pod)) } // Dumping nominated pods info on the node nominatedPodInfos := d.podQueue.NominatedPodsForNode(name) if len(nominatedPodInfos) != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 29 05:26:32 UTC 2023 - 3.1K bytes - Viewed (0) -
src/internal/coverage/pods/pods_test.go
// sent to separate directories. mkmeta(o2, "m1") mkcounter(o2, "m1", 11, 35) // Collect pods. podlist, err := pods.CollectPods([]string{o1, o2}, true) if err != nil { t.Fatal(err) } // Verify pods if len(podlist) != 2 { t.Fatalf("expected 2 pods got %d pods", len(podlist)) } for k, p := range podlist { t.Logf("%d: mf=%s\n", k, p.MetaFile) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 31 14:00:17 UTC 2023 - 3.5K bytes - Viewed (0)