- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 95 for apipod (0.17 sec)
-
pkg/scheduler/framework/plugins/podtopologyspread/filtering.go
// PreFilterExtensions returns prefilter extensions, pod add and remove. func (pl *PodTopologySpread) PreFilterExtensions() framework.PreFilterExtensions { return pl } // AddPod from pre-computed data in cycleState. func (pl *PodTopologySpread) AddPod(ctx context.Context, cycleState *framework.CycleState, podToSchedule *v1.Pod, podInfoToAdd *framework.PodInfo, nodeInfo *framework.NodeInfo) *framework.Status { s, err := getPreFilterState(cycleState)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 10:42:29 UTC 2024 - 12.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/pod.go
pc.addPod(pod, ip, key) } else { return nil } case model.EventUpdate: if !shouldPodBeInEndpoints(pod) || !IsPodReady(pod) { // delete only if this pod was in the cache if !pc.deleteIP(ip, key) { return nil } ev = model.EventDelete } else if shouldPodBeInEndpoints(pod) && IsPodReady(pod) { pc.addPod(pod, ip, key) } else { return nil
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/cache/cache.go
// Assumes that lock is already acquired. func (cache *cacheImpl) addPod(logger klog.Logger, pod *v1.Pod, assumePod bool) error { key, err := framework.GetPodKey(pod) if err != nil { return err } n, ok := cache.nodes[pod.Spec.NodeName] if !ok { n = newNodeInfoListItem(framework.NewNodeInfo()) cache.nodes[pod.Spec.NodeName] = n } n.info.AddPod(pod) cache.moveNodeInfoToHead(logger, pod.Spec.NodeName)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 24 09:56:48 UTC 2023 - 24.9K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/node_authorizer_test.go
node2 := &user.DefaultInfo{Name: "system:node:node2", Groups: []string{"system:nodes"}} node3 := &user.DefaultInfo{Name: "system:node:node3", Groups: []string{"system:nodes"}} g.AddPod(&corev1.Pod{ ObjectMeta: metav1.ObjectMeta{Name: "pod1-node1", Namespace: "ns1"}, Spec: corev1.PodSpec{ NodeName: "node1", Volumes: []corev1.Volume{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 40.5K bytes - Viewed (0) -
pkg/scheduler/testing/framework/fake_extender.go
var potentialVictims []*v1.Pod removePod := func(rp *v1.Pod) error { return nodeInfoCopy.RemovePod(logger, rp) } addPod := func(ap *v1.Pod) { nodeInfoCopy.AddPod(ap) } // As the first step, remove all the lower priority pods from the node and // check if the given pod can be scheduled. podPriority := corev1helpers.PodPriority(pod)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 19:07:19 UTC 2024 - 13.9K bytes - Viewed (0) -
tests/integration/pilot/istioctl_test.go
}, "testdata/authz-b.yaml").ApplyOrFail(t) gwPod, err := i.IngressFor(t.Clusters().Default()).PodID(0) if err != nil { t.Fatalf("Could not get Pod ID: %v", err) } appPod, err := getPodID(apps.A[0]) if err != nil { t.Fatalf("Could not get Pod ID: %v", err) } cases := []struct { name string pod string wants []*regexp.Regexp }{ {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 15K bytes - Viewed (0) -
pkg/kubelet/prober/scale_test.go
Running: &v1.ContainerStateRunning{ StartedAt: metav1.Now(), }, }, Started: utilpointer.Bool(true), }) } podManager.AddPod(&pod) m.statusManager.SetPodStatus(&pod, pod.Status) m.AddPod(&pod) } t.Logf("Adding %d pods with %d containers each in %v", numTestPods, numContainers, time.Since(now))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 16:33:01 UTC 2023 - 8.2K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/configurer/HierarchicalElementDeduplicatorTest.groovy
elementName("root:appId") == "root-appId" elementName("root:servicesId") == "root-servicesId" elementName("root:services") == "root-services" elementName("root:servicesId:barId") == "bar" elementName("root:servicesId:barId:app") == "root-services-bar-app" elementName("root:servicesId:barId:appId") == "root-services-bar-appId" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 9.9K bytes - Viewed (0) -
cni/pkg/nodeagent/options.go
) const ( // to reliably identify kubelet healthprobes from inside the pod (versus standard kube-proxy traffic, // since the IP is normally the same), we SNAT identified host probes in the host netns to a fixed // APIPA/"link-local" IP. // // It doesn't matter what this IP is, so long as it's not routable and doesn't collide with anything else. //
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:29 UTC 2024 - 2.1K bytes - Viewed (0) -
tools/bug-report/pkg/bugreport/bugreport.go
getFromCluster(content.GetPodInfo, params.SetIstioNamespace(config.IstioNamespace), clusterDir, &mandatoryWg) common.LogAndPrintf("\nFetching CNI logs from cluster.\n\n") for _, cniPod := range resources.CniPod { getCniLogs(runner, config, resources, cniPod.Namespace, cniPod.Name, &mandatoryWg) } // optionalWg is subject to timer. var optionalWg sync.WaitGroup for _, p := range paths {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 05 20:57:29 UTC 2024 - 20.7K bytes - Viewed (0)