Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for localVolumeNames (0.12 sec)

  1. pkg/kubelet/eviction/helpers.go

    		return 0
    	}
    	usage := uint64(*processStats.ProcessCount)
    	return usage
    }
    
    // localVolumeNames returns the set of volumes for the pod that are local
    // TODO: summary API should report what volumes consume local storage rather than hard-code here.
    func localVolumeNames(pod *v1.Pod) []string {
    	result := []string{}
    	for _, volume := range pod.Spec.Volumes {
    		if volume.HostPath != nil ||
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
Back to top