Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 253 for podAdd (0.16 sec)

  1. pkg/kubelet/stats/host_stats_provider.go

    }
    
    func (h hostStatsProvider) podLogMetrics(podNamespace, podName string, podUID types.UID) (metricsProviderByPath, error) {
    	podLogsDirectoryPath := kuberuntime.BuildPodLogsDirectory(h.podLogsDirectory, podNamespace, podName, podUID)
    	return h.fileMetricsByDir(podLogsDirectoryPath)
    }
    
    func (h hostStatsProvider) podContainerLogMetrics(podNamespace, podName string, podUID types.UID, containerName string) (metricsProviderByPath, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. pkg/kubelet/apis/podresources/server_v1_test.go

    			mockPodsProvider.EXPECT().GetPods().Return(tc.pods).AnyTimes()
    			mockDevicesProvider.EXPECT().GetDevices(string(podUID), containerName).Return(tc.devices).AnyTimes()
    			mockCPUsProvider.EXPECT().GetCPUs(string(podUID), containerName).Return(tc.cpus).AnyTimes()
    			mockMemoryProvider.EXPECT().GetMemory(string(podUID), containerName).Return(tc.memory).AnyTimes()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  3. pkg/kubelet/status/state/state.go

    type Reader interface {
    	GetContainerResourceAllocation(podUID string, containerName string) (v1.ResourceList, bool)
    	GetPodResourceAllocation() PodResourceAllocation
    	GetPodResizeStatus(podUID string) (v1.PodResizeStatus, bool)
    	GetResizeStatus() PodResizeStatus
    }
    
    type writer interface {
    	SetContainerResourceAllocation(podUID string, containerName string, alloc v1.ResourceList) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/cpumanager/cpu_manager.go

    				}
    			}
    		}
    	}
    
    	m.containerMap.Visit(func(podUID, containerName, containerID string) {
    		if _, ok := activeContainers[podUID][containerName]; !ok {
    			klog.ErrorS(nil, "RemoveStaleState: removing container", "podUID", podUID, "containerName", containerName)
    			err := m.policyRemoveContainerByRef(podUID, containerName)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 19.9K bytes
    - Viewed (0)
  5. pkg/volume/iscsi/iscsi.go

    	return &iscsiDiskUnmounter{
    		iscsiDisk: &iscsiDisk{
    			podUID:          podUID,
    			VolName:         volName,
    			manager:         manager,
    			plugin:          plugin,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_test.go

    				return volume.NewSpecFromPersistentVolume(makeTestPV(specName, 20, driver, volName), false)
    			},
    			podFunc: func() *api.Pod {
    				podUID := types.UID(fmt.Sprintf("%08X", rand.Uint64()))
    				return &api.Pod{ObjectMeta: meta.ObjectMeta{UID: podUID, Namespace: testns}}
    			},
    		},
    		{
    			name:     "PersistentVolume with driver info",
    			specName: "pv2",
    			driver:   "simple-driver",
    			volName:  "vol2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 15:55:13 UTC 2022
    - 21.1K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/podcgroupns.go

    			if matchResults != nil {
    				return "", "", false
    			}
    			matchResults = matches
    		}
    	}
    
    	if matchResults != nil {
    		var podUID types.UID
    		if matchResults["poduid"] != "" {
    			podUID = canonicalizePodUID(matchResults["poduid"])
    		}
    		return podUID, matchResults["containerid"], true
    	}
    	return "", "", false
    }
    
    // canonicalizePodUID converts a Pod UID, as represented in a cgroup path, into
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/cpumanager/state/state.go

    // Reader interface used to read current cpu/pod assignment state
    type Reader interface {
    	GetCPUSet(podUID string, containerName string) (cpuset.CPUSet, bool)
    	GetDefaultCPUSet() cpuset.CPUSet
    	GetCPUSetOrDefault(podUID string, containerName string) cpuset.CPUSet
    	GetCPUAssignments() ContainerCPUAssignments
    }
    
    type writer interface {
    	SetCPUSet(podUID string, containerName string, cpuset cpuset.CPUSet)
    	SetDefaultCPUSet(cpuset cpuset.CPUSet)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 00:59:30 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. pkg/kubelet/stats/host_stats_provider_test.go

    		podEtcHostsPathFunc PodEtcHostsPathFunc
    		podUID              types.UID
    		rootFsInfo          *cadvisorapiv2.FsInfo
    		want                *statsapi.FsStats
    		wantErr             bool
    	}{
    		{
    			name: "Should return nil for runtimes that do not support etc host file",
    			podEtcHostsPathFunc: func(podUID types.UID) string {
    				return ""
    			},
    			podUID:     "fake0001",
    			rootFsInfo: nil,
    			want:       nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 10 11:26:59 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  10. pkg/controller/volume/attachdetach/populator/desired_state_of_world_populator.go

    				podUID := volutil.GetUniquePodName(scheduledPod)
    				dswp.desiredStateOfWorld.DeletePod(podUID, volumeToAttach.VolumeName, volumeToAttach.NodeName)
    				logger.V(4).Info("Removing podUID and volume on node from desired state of world"+
    					" because of the change of volume attachability", "node", klog.KRef("", string(volumeToAttach.NodeName)), "podUID", podUID, "volumeName", volumeToAttach.VolumeName)
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top