Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 67 for waits (0.11 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. pkg/scheduler/internal/queue/scheduling_queue_test.go

    		pluginMetricsSamplePercent int
    		wants                      string
    	}{
    		{
    			name: "add pods to activeQ and unschedulablePods",
    			operations: []operation{
    				addPodActiveQ,
    				addPodUnschedulablePods,
    			},
    			operands: [][]*framework.QueuedPodInfo{
    				pInfos[:30],
    				pInfos[30:],
    			},
    			metricsName: "scheduler_pending_pods",
    			wants: `
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/proc.go

    // casGToWaitingForGC transitions gp from old to _Gwaiting, and sets the wait reason.
    // The wait reason must be a valid isWaitingForGC wait reason.
    //
    // Use this over casgstatus when possible to ensure that a waitreason is set.
    func casGToWaitingForGC(gp *g, old uint32, reason waitReason) {
    	if !reason.isWaitingForGC() {
    		throw("casGToWaitingForGC with non-isWaitingForGC wait reason")
    	}
    	casGToWaiting(gp, old, reason)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K 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/controller/garbagecollector/garbagecollector_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	go gc.Run(tCtx, 1)
    	// The pseudo-code of GarbageCollector.Sync():
    	// GarbageCollector.Sync(client, period, stopCh):
    	//    wait.Until() loops with `period` until the `stopCh` is closed :
    	//        wait.PollImmediateUntil() loops with 100ms (hardcode) util the `stopCh` is closed:
    	//            GetDeletableResources()
    	//            gc.resyncMonitors()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  9. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    io/istio/issues/43248 meshConfig: defaultConfig: proxyMetadata: {} # Ambient redirection mode: "iptables" or "ebpf" redirectMode: "iptables" # This value defines: # 1. how many seconds kube waits for ztunnel pod to gracefully exit before forcibly terminating it (this value) # 2. how many seconds ztunnel waits to drain its own connections (this value - 1 sec) # Default K8S value is 30 seconds terminationGracePeri: 30 # Revision is set as 'version' label and part of the resource names when installing...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 198.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    	if err != nil {
    		t.Fatalf("sign claims: %v", err)
    	}
    	token, err := jws.CompactSerialize()
    	if err != nil {
    		t.Fatalf("serialize token: %v", err)
    	}
    
    	// wait for the authenticator to be healthy
    	err = wait.PollUntilContextCancel(ctx, time.Millisecond, true, func(context.Context) (bool, error) {
    		return a.HealthCheck() == nil, nil
    	})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
Back to top