Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for gracePeriod (0.66 sec)

  1. security/pkg/credentialfetcher/plugin/gce.go

    	// When fails to get expiration time from token, always refresh the token.
    	if err != nil || exp.IsZero() {
    		return true
    	}
    	rotate := now.After(exp.Add(-gracePeriod))
    	gcecredLog.Debugf("credential expiration: %s, grace period: %s, should rotate: %t",
    		exp.String(), gracePeriod.String(), rotate)
    	return rotate
    }
    
    // GetPlatformCredential fetches the GCE VM identity jwt token from its metadata server,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. pkg/kubelet/eviction/memory_threshold_notifier_test.go

    				Signal:   evictionapi.SignalMemoryAvailable,
    				Operator: evictionapi.OpLessThan,
    				Value: evictionapi.ThresholdValue{
    					Quantity: quantityMustParse("2Gi"),
    				},
    				GracePeriod: time.Minute * 2,
    			},
    			expectedSubstrings: []string{"soft"},
    			omittedSubstrings:  []string{"allocatable", "hard"},
    		},
    		{
    			description: "hard allocatable threshold",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. tests/integration/pilot/vm_test.go

    				d := fmt.Sprintf("%s-%s", autoVM.Config().Service, "v1")
    				scaleDeploymentOrFail(t, d, autoVM.Config().Namespace.Name(), 0)
    				// it should take at most just over GracePeriod to cleanup if all pilots are healthy
    				retry.UntilSuccessOrFail(t, func() error {
    					if len(getWorkloadEntriesOrFail(t, autoVM)) > 0 {
    						return errors.New("expected 0 WorkloadEntries")
    					}
    					return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. pkg/controller/job/backoff_utils.go

    // 1. if all containers finished, use the latest time
    // 2. if the pod has Ready=False condition, use the last transition time
    // 3. if the pod has been deleted, use the `deletionTimestamp - grace_period` to estimate the moment of deletion
    // 4. fallback to pod's creation time
    //
    // Pods owned by Kubelet are marked with Ready=False condition when
    // transitioning to terminal phase, thus being handled by (1.) or (2.).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 07:46:41 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top