Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for kubepod (0.12 sec)

  1. pkg/kubelet/server/stats/summary_test.go

    	nodeConfig   = cm.NodeConfig{
    		RuntimeCgroupsName: "/runtime",
    		SystemCgroupsName:  "/misc",
    		KubeletCgroupsName: "/kubelet",
    	}
    	cgroupRoot  = "/kubepods"
    	rlimitStats = getRlimitStats()
    )
    
    func TestSummaryProviderGetStatsNoSplitFileSystem(t *testing.T) {
    	ctx := context.Background()
    	assert := assert.New(t)
    
    	podStats := []statsapi.PodStats{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/cri_stats_provider_test.go

    		cgroupPath string
    		expected   string
    	}{
    		{
    			cgroupPath: "/kubepods/burstable/pod2fc932ce-fdcc-454b-97bd-aadfdeb4c340/9be25294016e2dc0340dd605ce1f57b492039b267a6a618a7ad2a7a58a740f32",
    			expected:   "9be25294016e2dc0340dd605ce1f57b492039b267a6a618a7ad2a7a58a740f32",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  3. pkg/kubelet/server/stats/summary_windows_test.go

    		imageFsStats   = getFsStats()
    		rootFsStats    = getFsStats()
    		node           = &v1.Node{ObjectMeta: metav1.ObjectMeta{Name: "test-node"}}
    		nodeConfig     = cm.NodeConfig{}
    		cgroupRoot     = "/kubepods"
    		cgroupStatsMap = map[string]struct {
    			cs *statsapi.ContainerStats
    			ns *statsapi.NetworkStats
    		}{
    			"/":     {cs: getContainerStats()},
    			"/pods": {cs: getContainerStats()},
    		}
    	)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    		"/pod2-c0":                       getTestContainerInfo(seedPod2Container, pName2, namespace2, cName20),
    		"/kubepods/burstable/podUIDpod0": getTestContainerInfo(seedPod0Infra, pName0, namespace0, kubelettypes.PodInfraContainerName),
    		"/kubepods/podUIDpod1":           getTestContainerInfo(seedPod1Infra, pName1, namespace0, kubelettypes.PodInfraContainerName),
    		// Pod3 - Namespace0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cgroup_manager_linux.go

    	return strings.Replace(part, "_", "-", -1)
    }
    
    // cgroupName.ToSystemd converts the internal cgroup name to a systemd name.
    // For example, the name {"kubepods", "burstable", "pod1234-abcd-5678-efgh"} becomes
    // "/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod1234_abcd_5678_efgh.slice"
    // This function always expands the systemd name into the cgroupfs form. If only
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/qos_container_manager_linux.go

    func (m *qosContainerManagerImpl) setMemoryQoS(configs map[v1.PodQOSClass]*CgroupConfig) {
    	qosMemoryRequests := m.getQoSMemoryRequests()
    
    	// Calculate the memory.min:
    	// for burstable(/kubepods/burstable): sum of all burstable pods
    	// for guaranteed(/kubepods): sum of all guaranteed and burstable pods
    	burstableMin := qosMemoryRequests[v1.PodQOSBurstable]
    	guaranteedMin := qosMemoryRequests[v1.PodQOSGuaranteed] + burstableMin
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 20:42:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. pkg/kubelet/stats/cri_stats_provider.go

    }
    
    func extractIDFromCgroupPath(cgroupPath string) string {
    	// case0 == cgroupfs: "/kubepods/burstable/pod2fc932ce-fdcc-454b-97bd-aadfdeb4c340/9be25294016e2dc0340dd605ce1f57b492039b267a6a618a7ad2a7a58a740f32"
    	id := filepath.Base(cgroupPath)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/node_container_manager_linux.go

    	"k8s.io/kubernetes/pkg/kubelet/events"
    	"k8s.io/kubernetes/pkg/kubelet/stats/pidlimit"
    	kubetypes "k8s.io/kubernetes/pkg/kubelet/types"
    )
    
    const (
    	defaultNodeAllocatableCgroupName = "kubepods"
    )
    
    // createNodeAllocatableCgroups creates Node Allocatable Cgroup when CgroupsPerQOS flag is specified as true
    func (cm *containerManagerImpl) createNodeAllocatableCgroups() error {
    	nodeAllocatable := cm.internalCapacity
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. pkg/kube/krt/README.md

    `krt` provides a framework for building _declarative_ controllers.
    See the [design doc](https://docs.google.com/document/d/1-ywpCnOfubqg7WAXSPf4YgbaFDBEU9HIqMWcxZLhzwE/edit#heading=h.ffjmk8byb9gt) and [KubeCon talk](https://sched.co/1R2oY) for more background.
    
    The framework aims to solve a few problems with writing controllers:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 18 17:21:50 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/sidecar_simulation_test.go

    					istio, k, err := crd.ParseInputs(cfg)
    					if err != nil {
    						t.Fatal(err)
    					}
    					kubeo, err := kube.SlowConvertKindsToRuntimeObjects(k)
    					if err != nil {
    						t.Fatal(err)
    					}
    					s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{
    						Configs:           istio,
    						KubernetesObjects: kubeo,
    					})
    					sim := simulation.NewSimulation(t, s, s.SetupProxy(tt.proxy))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top