Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Transition (0.23 sec)

  1. pkg/kubelet/eviction/eviction_manager_test.go

    	// we should have memory pressure (because transition period not yet met)
    	if !manager.IsUnderMemoryPressure() {
    		t.Errorf("Manager should report memory pressure")
    	}
    
    	// no pod should have been killed
    	if podKiller.pod != nil {
    		t.Errorf("Manager chose to kill pod: %v when no pod should have been killed", podKiller.pod.Name)
    	}
    
    	// move the clock past transition period to ensure that we stop reporting pressure
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. src/runtime/proc.go

    		// schedule checks if freezing is set and if so stops
    		// execution. This guarantees that while Gs can transition from
    		// running to stopped, they can never transition from stopped
    		// to running.
    		//
    		// The sleep here allows racing Ms that missed freezing and are
    		// about to run a G to complete the transition to running
    		// before we start traceback.
    		usleep(1000)
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  3. pkg/registry/batch/job/strategy_test.go

    					Template:       validPodTemplateSpec,
    					ManualSelector: ptr.To(true),
    					Parallelism:    ptr.To[int32](1),
    				},
    			},
    			wantWarningsCount: 1,
    		},
    		"Invalid transition to high parallelism": {
    			wantWarningsCount: 1,
    			job: &batch.Job{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:            "myjob2",
    					Namespace:       metav1.NamespaceDefault,
    					Generation:      1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"oldSelf.v == 'old' && self.v == 'new'",
    			},
    		},
    		{name: "skipped transition rule for nil old primitive",
    			expectSkipped: true,
    			obj:           "exists",
    			oldObj:        nil,
    			schema:        &stringType,
    			valid: []string{
    				"oldSelf == self",
    			},
    		},
    		{name: "skipped transition rule for nil old array",
    			expectSkipped: true,
    			obj:           []interface{}{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    			clonedRl.NoncurrentVersionTransition = existingRl.NoncurrentVersionTransition
    			rMap[id] = clonedRl
    		} else {
    			rMap[id] = rl
    		}
    	}
    
    	var rules []lifecycle.Rule
    	for _, rule := range rMap {
    		rules = append(rules, rule)
    	}
    
    	// no rules, return
    	if len(rules) == 0 {
    		return []byte{}, nil
    	}
    
    	// get final list for write
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  6. src/net/http/server.go

    	// for a new request. Connections transition from StateIdle
    	// to either StateActive or StateClosed.
    	StateIdle
    
    	// StateHijacked represents a hijacked connection.
    	// This is a terminal state. It does not transition to StateClosed.
    	StateHijacked
    
    	// StateClosed represents a closed connection.
    	// This is a terminal state. Hijacked connections do not
    	// transition to StateClosed.
    	StateClosed
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    		UserAgent:    r.UserAgent(),
    		Host:         handlers.GetSourceIP(r),
    	})
    
    	if !remoteCallRequired && !globalTierConfigMgr.Empty() {
    		// Schedule object for immediate transition if eligible.
    		objInfo.ETag = origETag
    		enqueueTransitionImmediate(objInfo, lcEventSrc_s3CopyObject)
    		// Remove the transitioned object whose object version is being overwritten.
    		os.Sweep()
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_pods.go

    			break
    		}
    	}
    
    	// pods are not allowed to transition out of terminal phases
    	if pod.Status.Phase == v1.PodFailed || pod.Status.Phase == v1.PodSucceeded {
    		// API server shows terminal phase; transitions are not allowed
    		if s.Phase != pod.Status.Phase {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  9. cmd/metrics-v2.go

    		Help:      "Number of pending ILM transition tasks in the queue",
    		Type:      gaugeMetric,
    	}
    }
    
    func getTransitionActiveTasksMD() MetricDescription {
    	return MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: ilmSubsystem,
    		Name:      transitionActiveTasks,
    		Help:      "Number of active ILM transition tasks",
    		Type:      gaugeMetric,
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_test.go

    				}},
    			},
    		},
    		// For Unknown Container Status:
    		// * In certain situations a container can be running and fail to retrieve the status which results in
    		// * a transition to the Unknown state. Prior to this fix, a container would make an invalid transition
    		// * from Running->Waiting. This test validates the correct behavior of transitioning from Running->Terminated.
    		{
    			containers: []v1.Container{{Name: "unknown"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
Back to top