Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 228 for Egrave (0.57 sec)

  1. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go

    			expectedDidOverrideInhibitDelay:  false,
    			expectedPodToGracePeriodOverride: map[string]int64{"normal-pod-nil-grace-period": 20, "critical-pod-nil-grace-period": 10, "normal-pod-grace-period": 2, "critical-pod-grace-period": 2, "normal-pod-long-grace-period": 20},
    		},
    		{
    			desc:                             "no override (total=30, critical=0)",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  2. security/pkg/util/certutil_test.go

    		expectedErr      string
    	}{
    		"Success": {
    			// Now = 2017-08-23 21:00:40 +0000 UTC
    			// Cert TTL is 24h, and grace period is 50% of TTL, that is 12h.
    			// The cert expires at 2017-08-24 19:00:40 +0000 UTC, so the grace period starts at 2017-08-24 07:00:40 +0000 UTC
    			// The wait time is the duration from fake now to the grace period start time, which is 10h39s (36039s).
    			cert:             testCert,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. security/pkg/util/certutil.go

    	// waitTime is the duration between now and the grace period starts.
    	// It is the time until cert expiration minus the length of grace period.
    	waitTime := timeToExpire - gracePeriod
    	if waitTime < 0 {
    		// We are within the grace period.
    		return time.Duration(0), fmt.Errorf("got a certificate that should be renewed now")
    	}
    	return waitTime, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/healthz.go

    // as well as livez and readyz. The livez grace period is defined by the value of the
    // command-line flag --livez-grace-period; before the grace period elapses, the livez health checks
    // will default to healthy. One may want to set a grace period in order to prevent the kubelet from restarting
    // the kube-apiserver due to long-ish boot sequences. Readyz health checks, on the other hand, have no grace period,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/waitgroup/ratelimited_waitgroup_test.go

    	now := time.Now()
    	t.Logf("Wait starting, N=%d, grace: %s, at: %s", n, grace, now)
    	activeAt, activeNow, err := target.Wait(func(count int) (RateLimiter, context.Context, context.CancelFunc) {
    		defer close(waitingCh)
    		// no deadline in context, Wait will wait forever, we want to measure
    		// how long it takes for the requests to drain.
    		return rate.NewLimiter(rate.Limit(n/int(grace.Seconds())), 1), context.Background(), func() {}
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 21 14:08:00 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_termination_order.go

    	}
    	return to
    }
    
    // waitForTurn waits until it is time for the container with the specified name to begin terminating, up until
    // the specified grace period.  If gracePeriod = 0, there is no wait.
    func (o *terminationOrdering) waitForTurn(name string, gracePeriod int64) float64 {
    	// if there is no grace period, we don't wait
    	if gracePeriod <= 0 {
    		return 0
    	}
    
    	start := time.Now()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 00:07:21 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    		expectedGracePeriod int64
    	}{
    		{
    			name: "default termination grace period",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{Containers: []v1.Container{{Name: "foo"}}},
    			},
    			reason:              reasonUnknown,
    			expectedGracePeriod: int64(2),
    		},
    		{
    			name: "use pod termination grace period",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonConnector.java

        /**
         * Mark the daemon as unavailable if the client cannot communicate with the daemon.
         *
         * This is not intended to be used for all communication errors, only the most grave.
         * For example, if the daemon is communicating in some way, but its responses
         * are empty or do not appear to be daemon messages.
         *
         * @param daemon the daemon that could not be communicated with
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.5K bytes
    - Viewed (1)
  9. pkg/kubelet/config/common_test.go

    	"k8s.io/kubernetes/pkg/apis/core/validation"
    	"k8s.io/kubernetes/pkg/securitycontext"
    	"k8s.io/utils/ptr"
    )
    
    func noDefault(*core.Pod) error { return nil }
    
    func TestDecodeSinglePod(t *testing.T) {
    	grace := int64(30)
    	enableServiceLinks := v1.DefaultEnableServiceLinks
    	pod := &v1.Pod{
    		TypeMeta: metav1.TypeMeta{
    			APIVersion: "",
    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			UID:       "12345",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  10. security/pkg/pki/ca/selfsignedcarootcertrotator_test.go

    	// a copy of root cert from config map for verification.
    	certItem0 := loadCert(rotator)
    
    	// Change grace period percentage to 0, so that root cert is not going to expire soon.
    	rotator.config.certInspector = certutil.NewCertUtil(0)
    	rotator.checkAndRotateRootCert()
    	// Verifies that when root cert remaining life is not in grace period time,
    	// root cert is not rotated.
    	certItem1 := loadCert(rotator)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 23:33:41 UTC 2023
    - 14.1K bytes
    - Viewed (0)
Back to top