- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for podMounts (3.42 sec)
-
plugin/pkg/admission/security/podsecurity/admission_test.go
Controller: pointer.Bool(true), } // number of warnings printed for the entire namespace namespaceWarningCount := 1 podCount := 3000 objects := make([]runtime.Object, 0, podCount+1) objects = append(objects, enforceNamespaceBaselineV1) for i := 0; i < podCount; i++ { v1PodCopy := v1Pod.DeepCopy() v1PodCopy.Name = fmt.Sprintf("pod%d", i) v1PodCopy.UID = types.UID(fmt.Sprintf("pod%d", i))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 15 01:29:47 UTC 2022 - 10.7K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
revision := getInjectedRevision(&namespace, hooks) podCount := podCountByRevision(allPods[resource.Namespace(namespace.Name)], revision) if len(podCount) == 0 { // This namespace has no pods, but we wish to display it if new pods will be auto-injected if revision != "" { podCount[revision] = revisionCount{} } } for injectedRevision, count := range podCount { if outputCount == 0 {
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/controller/deployment/deployment_controller_test.go
podMap, err := c.getPodMapForDeployment(d, f.rsLister) if err != nil { t.Fatalf("getPodMapForDeployment() error: %v", err) } podCount := 0 for _, podList := range podMap { podCount += len(podList) } if got, want := podCount, 3; got != want { t.Errorf("podCount = %v, want %v", got, want) } if got, want := len(podMap), 2; got != want { t.Errorf("len(podMap) = %v, want %v", got, want) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 32.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go
// copied from pred.Limit). // The expected number of calls is n+1 where n is the smallest n so that: // pageSize + pageSize * 2 + pageSize * 4 + ... + pageSize * 2^n >= podCount. // For pageSize = 1, podCount = 1000, we get n+1 = 10, 2 ^ 10 = 1024. currLimit := pageSize for sum := uint64(1); sum < estimatedProcessedObjects; { currLimit *= 2 if currLimit > maxLimit { currLimit = maxLimit
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 26.5K bytes - Viewed (0) -
pkg/scheduler/internal/cache/cache.go
func (cache *cacheImpl) NodeCount() int { cache.mu.RLock() defer cache.mu.RUnlock() return len(cache.nodes) } // PodCount returns the number of pods in the cache (including those from deleted nodes). // DO NOT use outside of tests. func (cache *cacheImpl) PodCount() (int, error) { cache.mu.RLock() defer cache.mu.RUnlock() // podFilter is expected to return true for most or all of the pods. We
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 24 09:56:48 UTC 2023 - 24.9K bytes - Viewed (0)