Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for stopped_ (0.43 sec)

  1. pkg/kubelet/kubelet_pods.go

    		case containerStatus.State.Running != nil:
    			running++
    		case containerStatus.State.Terminated != nil:
    			stopped++
    			if containerStatus.State.Terminated.ExitCode == 0 {
    				succeeded++
    			}
    		case containerStatus.State.Waiting != nil:
    			if containerStatus.LastTerminationState.Terminated != nil {
    				stopped++
    			} else {
    				waiting++
    			}
    		default:
    			unknown++
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet.go

    	}
    
    	kl.statusManager.SetPodStatus(pod, apiPodStatus)
    
    	// Pods that are not runnable must be stopped - return a typed error to the pod worker
    	if !runnable.Admit {
    		klog.V(2).InfoS("Pod is not runnable and must have running containers stopped", "pod", klog.KObj(pod), "podUID", pod.UID, "message", runnable.Message)
    		var syncErr error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  3. src/runtime/proc.go

    	}
    
    	// Double-check we actually stopped everything, and all the invariants hold.
    	// Also accumulate all the time spent by each P in _Pgcstop up to the point
    	// where everything was stopped. This will be accumulated into the total pause
    	// CPU time by the caller.
    	stoppingCPUTime := int64(0)
    	bad := ""
    	if sched.stopwait != 0 {
    		bad = "stopTheWorld: not stopped (stopwait != 0)"
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_pods_test.go

    					ContainerStatuses: []v1.ContainerStatus{
    						stoppedState("containerA"),
    						stoppedState("containerB"),
    					},
    				},
    			},
    			false,
    			v1.PodRunning,
    			"all stopped with restart always",
    		},
    		{
    			&v1.Pod{
    				Spec: desiredState,
    				Status: v1.PodStatus{
    					ContainerStatuses: []v1.ContainerStatus{
    						succeededState("containerA"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/runtime/framework_test.go

    			)
    			if err != nil {
    				cancel()
    				t.Fatalf("Failed to create framework for testing: %v", err)
    			}
    
    			tt.action(f)
    
    			// Stop the goroutine which records metrics and ensure it's stopped.
    			cancel()
    			<-recorder.IsStoppedCh
    			// Try to clean up the metrics buffer again in case it's not empty.
    			recorder.FlushMetrics()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux.go

    	WIN_WRITE_VERIFY                            = 0x3c
    	WNOHANG                                     = 0x1
    	WNOTHREAD                                   = 0x20000000
    	WNOWAIT                                     = 0x1000000
    	WSTOPPED                                    = 0x2
    	WUNTRACED                                   = 0x2
    	XATTR_CREATE                                = 0x1
    	XATTR_REPLACE                               = 0x2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 185.8K bytes
    - Viewed (0)
  7. src/database/sql/sql.go

    }
    
    func (c *Conn) close(err error) error {
    	if !c.done.CompareAndSwap(false, true) {
    		return ErrConnDone
    	}
    
    	// Lock around releasing the driver connection
    	// to ensure all queries have been stopped before doing so.
    	c.closemu.Lock()
    	defer c.closemu.Unlock()
    
    	c.dc.releaseConn(err)
    	c.dc = nil
    	c.db = nil
    	return err
    }
    
    // Close returns the connection to the connection pool.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  8. pkg/controller/podautoscaler/horizontal_test.go

    // Hence the second HPA controller reconcile cycle might return different result (comparing with the first run).
    // Current test infrastructure has a race condition, when several reconcile cycles will be performed
    //    while it should be stopped right after the first one. And the second will raise an exception
    //    because of different result.
    
    // This comment has more info: https://github.com/kubernetes/kubernetes/pull/74525#issuecomment-502653106
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  9. src/net/http/serve_test.go

    		if info.Reused || info.WasIdle {
    			t.Fatalf("request %v: Reused=%v (want false), WasIdle=%v (want false)", try, info.Reused, info.WasIdle)
    		}
    	}
    }
    
    // Issue 18447: test that the Server's ReadTimeout is stopped while
    // the server's doing its 1-byte background read between requests,
    // waiting for the connection to maybe close.
    func TestServerCancelsReadTimeoutWhenIdle(t *testing.T) { run(t, testServerCancelsReadTimeoutWhenIdle) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top