- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for podMounts (0.51 sec)
-
pkg/controller/statefulset/stateful_set_utils_test.go
func newStatefulSetWithVolumes(replicas int32, name string, petMounts []v1.VolumeMount, podMounts []v1.VolumeMount) *apps.StatefulSet { mounts := append(petMounts, podMounts...) claims := []v1.PersistentVolumeClaim{} for _, m := range petMounts { claims = append(claims, newPVC(m.Name)) } vols := []v1.Volume{} for _, m := range podMounts { vols = append(vols, v1.Volume{ Name: m.Name,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 50.9K bytes - Viewed (0) -
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) -
pkg/scheduler/internal/cache/fake/fake_cache.go
return nil } // NodeCount is a fake method for testing. func (c *Cache) NodeCount() int { return 0 } // PodCount is a fake method for testing. func (c *Cache) PodCount() (int, error) { return 0, nil } // Dump is a fake method for testing. func (c *Cache) Dump() *internalcache.Dump { return &internalcache.Dump{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 29 05:26:32 UTC 2023 - 2.8K 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/scheduler/internal/cache/interface.go
type Cache interface { // NodeCount returns the number of nodes in the cache. // DO NOT use outside of tests. NodeCount() int // PodCount returns the number of pods in the cache (including those from deleted nodes). // DO NOT use outside of tests. PodCount() (int, error) // AssumePod assumes a pod scheduled and aggregates the pod's information into its node.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 29 05:26:32 UTC 2023 - 5.2K bytes - Viewed (0) -
src/internal/bytealg/count_ppc64x.s
LXVD2X (R21)(R3), V2 VCMPEQUB V2, V1, V2 VCMPEQUB V0, V1, V0 VPOPCNTD V2, V2 // A match is 0xFF or 0. Count the bits into doubleword buckets. VPOPCNTD V0, V0 VADDUDM V0, V4, V4 // Accumulate the popcounts. They are 8x the count. VADDUDM V2, V5, V5 // The count will be fixed up afterwards. ADD $32, R3 BDNZ cmploop VADDUDM V4, V5, V5 MFVSRD V5, R18 VSLDOI $8, V5, V5, V5 MFVSRD V5, R21 ADD R21, R18, R18
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 20:30:44 UTC 2023 - 3.6K 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) -
pkg/controller/disruption/disruption_test.go
func TestMultipleControllers(t *testing.T) { const podCount = 2 _, ctx := ktesting.NewTestContext(t) dc, ps := newFakeDisruptionController(ctx) pdb, pdbName := newMinAvailablePodDisruptionBudget(t, intstr.FromString("1%")) add(t, dc.pdbStore, pdb) pods := []*v1.Pod{} for i := 0; i < podCount; i++ { pod, _ := newPod(t, fmt.Sprintf("pod %d", i)) pods = append(pods, pod)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 50K 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)