Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 58 for stops (0.05 sec)

  1. pkg/volume/util/operationexecutor/operation_generator.go

    	}, nil
    }
    
    // GenerateUnmapVolumeFunc marks volume as unmonuted based on following steps.
    // Remove symbolic links from pod device map path dir and  global map path dir.
    // Once those cleanups are done, remove pod device map path dir.
    // If all steps are completed, the volume is marked as unmounted.
    func (og *operationGenerator) GenerateUnmapVolumeFunc(
    	volumeToUnmount MountedVolume,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  2. pkg/kubelet/eviction/eviction_manager_test.go

    			t.Errorf("Admit pod: %v, expected: %v, actual: %v", pod, expected[i], result.Admit)
    		}
    	}
    
    	// move the clock past transition period to ensure that we stop reporting pressure
    	fakeClock.Step(5 * time.Minute)
    	summaryProvider.result = summaryStatsMaker("2Gi", podStats)
    	podKiller.pod = nil // reset state
    	_, err = manager.synchronize(diskInfoProvider, activePodsFunc)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_test.go

    		Duration: initialDuration,
    		Factor:   3,
    		Jitter:   0,
    		Steps:    6,
    	}
    	return wait.ExponentialBackoff(backoff, fn)
    }
    
    func simulateVolumeInUseUpdate(
    	volumeName v1.UniqueVolumeName,
    	stopCh <-chan struct{},
    	volumeManager kubeletvolume.VolumeManager) {
    	ticker := time.NewTicker(100 * time.Millisecond)
    	defer ticker.Stop()
    	for {
    		select {
    		case <-ticker.C:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  4. src/database/sql/sql.go

    	maxIdleTimeClosed int64 // Total number of connections closed due to idle time.
    	maxLifetimeClosed int64 // Total number of connections closed due to max connection lifetime limit.
    
    	stop func() // stop cancels the connection opener.
    }
    
    // connReuseStrategy determines how (*DB).conn returns database connections.
    type connReuseStrategy uint8
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet.go

    	// that need to be sync'd. A one-second period is sufficient because the
    	// sync interval is defaulted to 10s.
    	syncTicker := time.NewTicker(time.Second)
    	defer syncTicker.Stop()
    	housekeepingTicker := time.NewTicker(housekeepingPeriod)
    	defer housekeepingTicker.Stop()
    	plegCh := kl.pleg.Watch()
    	const (
    		base   = 100 * time.Millisecond
    		max    = 5 * time.Second
    		factor = 2
    	)
    	duration := base
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	watcher, err := registry.WatchPredicate(testContext, matchPodName("foo"), podCreated.ResourceVersion, nil)
    	if err != nil {
    		t.Fatalf("Unexpected error: %v", err)
    	}
    	defer watcher.Stop()
    
    	if _, err := registry.DeleteCollection(testContext, rest.ValidateAllObjectFunc, nil, &metainternalversion.ListOptions{}); err != nil {
    		t.Fatalf("Unexpected error: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set_control_test.go

    		ssc := defaultStatefulSetControl{spc, ssu, history.NewFakeHistory(informerFactory.Apps().V1().ControllerRevisions())}
    
    		stop := make(chan struct{})
    		defer close(stop)
    		informerFactory.Start(stop)
    		cache.WaitForCacheSync(
    			stop,
    			informerFactory.Apps().V1().StatefulSets().Informer().HasSynced,
    			informerFactory.Core().V1().Pods().Informer().HasSynced,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    		// if object upload fails stop the test.
    		if err != nil {
    			t.Fatalf("Put Object case %d:  Error uploading object: <ERROR> %v", i+1, err)
    		}
    	}
    
    	// test cases with inputs and expected result for HeadObject.
    	testCases := []struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  9. cluster/gce/gci/configure-helper.sh

        # And if somebody will start docker to build or pull something, logging will also be set up
        log-wrap 'AssembleDockerFlags' assemble-docker-flags
        # stop docker if it is present as we want to use just containerd
        log-wrap 'StopDocker' systemctl stop docker || echo "unable to stop docker"
      fi
    
      if [[ ! -e "/etc/profile.d/containerd_env.sh" ]]; then
        log-wrap 'SetupContainerd' setup-containerd
      else
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  10. cmd/bucket-replication.go

    func (s *replicationResyncer) PersistToDisk(ctx context.Context, objectAPI ObjectLayer) {
    	resyncTimer := time.NewTimer(resyncTimeInterval)
    	defer resyncTimer.Stop()
    
    	// For each bucket name, store the last timestamp of the
    	// successful save of replication status in the backend disks.
    	lastResyncStatusSave := make(map[string]time.Time)
    
    	for {
    		select {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
Back to top