Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for termination (1.07 sec)

  1. src/runtime/mgc.go

    func GC() {
    	// We consider a cycle to be: sweep termination, mark, mark
    	// termination, and sweep. This function shouldn't return
    	// until a full cycle has been completed, from beginning to
    	// end. Hence, we always want to finish up the current cycle
    	// and start a new one. That means:
    	//
    	// 1. In sweep termination, mark, or mark termination of cycle
    	// N, wait until mark termination N completes and transitions
    	// to sweep N.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container.go

    		return fmt.Sprintf("Error on reading termination message from logs: %v", err)
    	}
    	return buf.String()
    }
    
    func (m *kubeGenericRuntimeManager) convertToKubeContainerStatus(status *runtimeapi.ContainerStatus) (cStatus *kubecontainer.Status) {
    	cStatus = toKubeContainerStatus(status, m.runtimeName)
    	if status.State == runtimeapi.ContainerState_CONTAINER_EXITED {
    		// Populate the termination message if needed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  3. src/runtime/mprof.go

    // snapshot as of the last mark termination without advancing the heap
    // profile cycle.
    func mProf_PostSweep() {
    	// Flush cycle C+1 to the active profile so everything as of
    	// the last mark termination becomes visible. *Don't* advance
    	// the cycle, since we're still accumulating allocs in cycle
    	// C+2, which have to become C+1 in the next mark termination
    	// and so on.
    	cycle := mProfCycle.read() + 1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. pkg/kubelet/pod_workers_test.go

    	if !podWorkers.ShouldPodContainersBeTerminating(types.UID("0")) {
    		t.Errorf("Expected pod to be terminating")
    	}
    	if !podWorkers.ShouldPodContainersBeTerminating(types.UID("1")) {
    		t.Errorf("Expected pod to be terminating")
    	}
    	if podWorkers.ShouldPodContainersBeTerminating(types.UID("2")) {
    		t.Errorf("Expected pod to not be terminating")
    	}
    	if !podWorkers.IsPodTerminationRequested(types.UID("0")) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  5. pkg/apis/core/v1/defaults_test.go

    		".Spec.Containers[0].StartupProbe.SuccessThreshold":              "1",
    		".Spec.Containers[0].StartupProbe.TimeoutSeconds":                "1",
    		".Spec.Containers[0].TerminationMessagePath":                     `"/dev/termination-log"`,
    		".Spec.Containers[0].TerminationMessagePolicy":                   `"File"`,
    		".Spec.Containers[0].LivenessProbe.ProbeHandler.GRPC.Service":    `""`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	// Defines a time budget that can be spend on waiting for not-ready watchers
    	// while dispatching event before shutting them down.
    	dispatchTimeoutBudget timeBudget
    
    	// Handling graceful termination.
    	stopLock sync.RWMutex
    	stopped  bool
    	stopCh   chan struct{}
    	stopWg   sync.WaitGroup
    
    	clock clock.Clock
    	// timer is used to avoid unnecessary allocations in underlying watchers.
    	timer *time.Timer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  7. pkg/controller/job/job_controller.go

    	if err != nil {
    		return err
    	}
    	var terminating *int32
    	if feature.DefaultFeatureGate.Enabled(features.JobPodReplacementPolicy) {
    		terminating = ptr.To(controller.CountTerminatingPods(pods))
    	}
    	jobCtx := &syncJobCtx{
    		job:                  &job,
    		pods:                 pods,
    		activePods:           controller.FilterActivePods(logger, pods),
    		terminating:          terminating,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.31.md

    - Fixes a bug where hard evictions due to resource pressure would let the pod have the full termination grace period, instead of shutting down instantly. This bug also affected force deleted pods. Both cases now get a termination grace period of 1 second. ([#124063](https://github.com/kubernetes/kubernetes/pull/124063), [@olyazavr](https://github.com/olyazavr)) [SIG Node]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:34:14 UTC 2024
    - 60.3K bytes
    - Viewed (0)
  9. pkg/proxy/winkernel/proxier.go

    }
    
    // IsReady returns true if an endpoint is ready and not terminating.
    func (info *endpointInfo) IsReady() bool {
    	return info.ready
    }
    
    // IsServing returns true if an endpoint is ready, regardless of it's terminating state.
    func (info *endpointInfo) IsServing() bool {
    	return info.serving
    }
    
    // IsTerminating returns true if an endpoint is terminating.
    func (info *endpointInfo) IsTerminating() bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  10. src/runtime/mheap.go

    	if addspecial(p, &s.special) {
    		// This is responsible for maintaining the same
    		// GC-related invariants as markrootSpans in any
    		// situation where it's possible that markrootSpans
    		// has already run but mark termination hasn't yet.
    		if gcphase != _GCoff {
    			base, span, _ := findObject(uintptr(p), 0, 0)
    			mp := acquirem()
    			gcw := &mp.p.ptr().gcw
    			// Mark everything reachable from the object
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
Back to top