Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getTerminatedContainerInfo (0.2 sec)

  1. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    		// simulating uncleaned cgroups of already terminated containers, which
    		// should not be shown in the results.
    		"/pod0-i-terminated-1":  getTerminatedContainerInfo(seedPastPod0Infra, pName0, namespace, kubelettypes.PodInfraContainerName),
    		"/pod0-c0-terminated-1": getTerminatedContainerInfo(seedPastPod0Container0, pName0, namespace, cName00),
    
    		// Same as above but uses the same creation time as the latest
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/provider_test.go

    			containerFs: test.containerFsStats,
    		})
    
    		dedicated, err := provider.HasDedicatedImageFs(ctx)
    		assert.NoError(t, err)
    		assert.Equal(t, test.dedicated, dedicated)
    	}
    }
    
    func getTerminatedContainerInfo(seed int, podName string, podNamespace string, containerName string) cadvisorapiv2.ContainerInfo {
    	cinfo := getTestContainerInfo(seed, podName, podNamespace, containerName)
    	cinfo.Stats[0].Memory.RSS = 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top