Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for gracePeriod (0.15 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/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