Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetContainerName (0.34 sec)

  1. pkg/kubelet/stats/cadvisor_stats_provider.go

    			podToStats[ref] = podStats
    		}
    
    		// Update the PodStats entry with the stats from the container by
    		// adding it to podStats.Containers.
    		containerName := kubetypes.GetContainerName(cinfo.Spec.Labels)
    		if containerName == kubetypes.PodInfraContainerName {
    			// Special case for infrastructure container which is hidden from
    			// the user and has network stats.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 16 13:34:22 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/cri_stats_provider.go

    		return containers[i].CreatedAt < containers[j].CreatedAt
    	})
    	for _, container := range containers {
    		refID := containerID{
    			podRef:        buildPodRef(container.Labels),
    			containerName: kubetypes.GetContainerName(container.Labels),
    		}
    		containerMap[refID] = append(containerMap[refID], container)
    	}
    
    	result := make([]*runtimeapi.Container, 0)
    	for _, refs := range containerMap {
    		for i := 0; i < len(refs); i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 35.1K bytes
    - Viewed (0)
Back to top