Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 261 for pvcuid (0.29 sec)

  1. pkg/kubelet/cm/helpers.go

    			continue
    		}
    		podUID := podSandboxMap[c.PodSandboxId]
    		containerMap.Add(podUID, c.Metadata.Name, c.Id)
    		if c.State == runtimeapi.ContainerState_CONTAINER_RUNNING {
    			klog.V(4).InfoS("Container reported running", "podSandboxId", c.PodSandboxId, "podUID", podUID, "containerName", c.Metadata.Name, "containerId", c.Id)
    			runningSet.Insert(c.Id)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. pkg/kubelet/apis/podresources/testing/provider_mock.go

    // GetDevices mocks base method.
    func (m *MockDevicesProvider) GetDevices(podUID, containerName string) []*v10.ContainerDevices {
    	m.ctrl.T.Helper()
    	ret := m.ctrl.Call(m, "GetDevices", podUID, containerName)
    	ret0, _ := ret[0].([]*v10.ContainerDevices)
    	return ret0
    }
    
    // GetDevices indicates an expected call of GetDevices.
    func (mr *MockDevicesProviderMockRecorder) GetDevices(podUID, containerName any) *gomock.Call {
    	mr.mock.ctrl.T.Helper()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/pod_container_manager_linux_test.go

    			expectedUID:    types.UID(""),
    		},
    		{
    			input:          NewCgroupName(qosContainersInfo.Guaranteed, GetPodCgroupNameSuffix(podUID)),
    			expectedResult: true,
    			expectedUID:    podUID,
    		},
    		{
    			input:          NewCgroupName(qosContainersInfo.Guaranteed, GetPodCgroupNameSuffix(podUID), "container.scope"),
    			expectedResult: false,
    			expectedUID:    types.UID(""),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 08 13:06:38 UTC 2022
    - 8.9K bytes
    - Viewed (0)
  4. pkg/volume/projected/projected.go

    		&projectedVolume{
    			volName:         volName,
    			podUID:          podUID,
    			plugin:          plugin,
    			MetricsProvider: volume.NewCachedMetrics(volume.NewMetricsDu(getPath(podUID, volName, plugin.host))),
    		},
    	}, nil
    }
    
    func (plugin *projectedPlugin) ConstructVolumeSpec(volumeName, mountPath string) (volume.ReconstructedVolume, error) {
    	projectedVolume := &v1.Volume{
    		Name: volumeName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/memorymanager/memory_manager.go

    	for podUID := range assignments {
    		for containerName := range assignments[podUID] {
    			if _, ok := activeContainers[podUID][containerName]; !ok {
    				klog.InfoS("RemoveStaleState removing state", "podUID", podUID, "containerName", containerName)
    				m.policyRemoveContainerByRef(podUID, containerName)
    			}
    		}
    	}
    
    	m.containerMap.Visit(func(podUID, containerName, containerID string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 00:50:45 UTC 2023
    - 17.1K bytes
    - Viewed (1)
  6. pkg/kubelet/cm/devicemanager/manager.go

    	defer m.mutex.Unlock()
    
    	m.pendingAdmissionPod = pod
    }
    
    func (m *ManagerImpl) isContainerAlreadyRunning(podUID, cntName string) bool {
    	cntID, err := m.containerMap.GetContainerID(podUID, cntName)
    	if err != nil {
    		klog.V(4).InfoS("container not found in the initial map, assumed NOT running", "podUID", podUID, "containerName", cntName, "err", err)
    		return false
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  7. pkg/volume/util/fsquota/quota_linux.go

    		delete(podQuotaMap, poduid)
    		delete(podUidMap, poduid)
    	} else {
    		err = removeProjectID(path, projid)
    		podDirCountMap[poduid]--
    		klog.V(4).Infof("Not clearing quota for pod %s; still %v dirs outstanding", poduid, podDirCountMap[poduid])
    	}
    	delete(dirPodMap, path)
    	delete(dirQuotaMap, path)
    	delete(supportsQuotasMap, path)
    	clearApplier(path)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 07 08:07:51 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  8. pkg/volume/csi/csi_plugin_test.go

    			}
    			if csiMounter.volumeID == "" {
    				t.Error("mounter volume id not set")
    			}
    			if csiMounter.pod == nil {
    				t.Error("mounter pod not set")
    			}
    			if string(csiMounter.podUID) != string(test.podUID) {
    				t.Error("mounter podUID not set")
    			}
    			csiClient, err := csiMounter.csiClientGetter.Get()
    			if csiClient == nil {
    				t.Errorf("mounter csiClient is nil: %v", err)
    			}
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  9. pkg/volume/flexvolume/volume.go

    	execPath string
    	// mounter provides the interface that is used to mount the actual
    	// block device.
    	mounter mount.Interface
    	// podName is the name of the pod, if available.
    	podName string
    	// podUID is the UID of the pod.
    	podUID types.UID
    	// podNamespace is the namespace of the pod, if available.
    	podNamespace string
    	// podServiceAccountName is the service account name of the pod, if available.
    	podServiceAccountName string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 17 04:51:24 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/memorymanager/policy_static.go

    }
    
    // RemoveContainer call is idempotent
    func (p *staticPolicy) RemoveContainer(s state.State, podUID string, containerName string) {
    	blocks := s.GetMemoryBlocks(podUID, containerName)
    	if blocks == nil {
    		return
    	}
    
    	klog.InfoS("RemoveContainer", "podUID", podUID, "containerName", containerName)
    	s.Delete(podUID, containerName)
    
    	// Mutate machine memory state to update free and reserved memory
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Nov 12 07:34:55 UTC 2023
    - 34K bytes
    - Viewed (0)
Back to top