Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for wait4 (0.05 sec)

  1. pkg/kubelet/kubelet.go

    		// fairness effect.
    		go wait.JitterUntil(kl.syncNodeStatus, kl.nodeStatusUpdateFrequency, 0.04, true, wait.NeverStop)
    		go kl.fastStatusUpdateOnce()
    
    		// start syncing lease
    		go kl.nodeLeaseController.Run(context.Background())
    	}
    	go wait.Until(kl.updateRuntimeUp, 5*time.Second, wait.NeverStop)
    
    	// Set up iptables util rules
    	if kl.makeIPTablesUtilChains {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  2. cluster/gce/util.sh

      # Report logging choice (if any).
      if [[ "${ENABLE_NODE_LOGGING-}" == "true" ]]; then
        echo "+++ Logging using Fluentd to ${LOGGING_DESTINATION:-unknown}"
      fi
    
      # Wait for last batch of jobs
      kube::util::wait-for-jobs || {
        code=$?
        echo -e "${color_red}Failed to create firewall rule.${color_norm}" >&2
        exit $code
      }
    }
    
    function get-scope-flags() {
      local scope_flags=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  3. src/net/http/server.go

    // [ListenAndServeTLS] immediately return [ErrServerClosed]. Make sure the
    // program doesn't exit and waits instead for Shutdown to return.
    //
    // Shutdown does not attempt to close nor wait for hijacked
    // connections such as WebSockets. The caller of Shutdown should
    // separately notify such long-lived connections of shutdown and wait
    // for them to close, if desired. See [Server.RegisterOnShutdown] for a way to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  4. src/net/http/serve_test.go

    	if err := cmd.Start(); err != nil {
    		b.Fatalf("subprocess failed to start: %v", err)
    	}
    
    	done := make(chan error, 1)
    	go func() {
    		done <- cmd.Wait()
    		close(done)
    	}()
    	defer func() {
    		cancel()
    		<-done
    	}()
    
    	// Wait for the server in the child process to respond and tell us
    	// its listening address, once it's started listening:
    	bs := bufio.NewScanner(stdout)
    	if !bs.Scan() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  5. cluster/gce/gci/configure-helper.sh

    function start-fluentd-resource-update {
      wait-for-apiserver-and-update-fluentd &
    }
    
    # VolumeSnapshot CRDs and controller are installed by cluster addon manager,
    # which may not be available at this point. Run this as a background process.
    function wait-for-volumesnapshot-crd-and-controller {
      # Wait until volumesnapshot CRDs and controller are in place.
      echo "Wait until volume snapshot CRDs are installed"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	}
    
    	if _, err := registry.Create(ctx, barPod, rest.ValidateAllObjectFunc, &metav1.CreateOptions{}); err != nil {
    		t.Fatal(err)
    	}
    
    	select {
    	case <-time.After(wait.ForeverTestTimeout):
    		t.Fatalf("timeout after %v", wait.ForeverTestTimeout)
    	case l, ok := <-waitListCh:
    		if !ok {
    			return
    		}
    		pl := l.(*example.PodList).Items
    		if len(pl) != 2 {
    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/job/job_controller_test.go

    			if err != nil {
    				t.Fatalf("Creating orphan pod: %v", err)
    			}
    
    			if err := wait.PollUntilContextTimeout(ctx, 100*time.Millisecond, wait.ForeverTestTimeout, false, func(ctx context.Context) (bool, error) {
    				p, err := clientset.CoreV1().Pods(orphanPod.Namespace).Get(context.Background(), orphanPod.Name, metav1.GetOptions{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_test.go

    	}
    
    	return nil
    }
    
    func retryWithExponentialBackOff(initialDuration time.Duration, fn wait.ConditionFunc) error {
    	backoff := wait.Backoff{
    		Duration: initialDuration,
    		Factor:   3,
    		Jitter:   0,
    		Steps:    6,
    	}
    	return wait.ExponentialBackoff(backoff, fn)
    }
    
    func simulateVolumeInUseUpdate(
    	volumeName v1.UniqueVolumeName,
    	stopCh <-chan struct{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    			defer wg.Done()
    			tgtInfo := replicateDeleteToTarget(ctx, dobj, tgt)
    
    			mu.Lock()
    			rinfos.Targets = append(rinfos.Targets, tgtInfo)
    			mu.Unlock()
    		}(tgtClnt)
    	}
    	wg.Wait()
    
    	replicationStatus = rinfos.ReplicationStatus()
    	prevStatus := dobj.DeleteMarkerReplicationStatus()
    
    	if dobj.VersionID != "" {
    		prevStatus = replication.StatusType(dobj.VersionPurgeStatus())
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_pods.go

    	}
    
    	// If the pod originates from the kube-api, when we know that the kube-apiserver is responding and the kubelet's credentials are valid.
    	// Knowing this, it is reasonable to wait until the service lister has synchronized at least once before attempting to build
    	// a service env var map.  This doesn't present the race below from happening entirely, but it does prevent the "obvious"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top