Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetPodStartTime (0.15 sec)

  1. pkg/scheduler/util/utils.go

    	// Use underscore as the delimiter because it is not allowed in pod name
    	// (DNS subdomain format).
    	return pod.Name + "_" + pod.Namespace
    }
    
    // GetPodStartTime returns start time of the given pod or current timestamp
    // if it hasn't started yet.
    func GetPodStartTime(pod *v1.Pod) *metav1.Time {
    	if pod.Status.StartTime != nil {
    		return pod.Status.StartTime
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 21 01:40:44 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top