Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 139 for pvcuid (0.16 sec)

  1. pkg/controller/volume/attachdetach/util/util.go

    				return nil, err
    			}
    		}
    
    		pvName, pvcUID := pvc.Spec.VolumeName, pvc.UID
    		logger.V(10).Info("Found bound PV for PVC", "PVC", klog.KRef(pod.Namespace, claimName), "pvcUID", pvcUID, "PV", klog.KRef("", pvName))
    
    		// Fetch actual PV object
    		volumeSpec, err := getPVSpecFromCache(
    			pvName, readOnly, pvcUID, pvLister)
    		if err != nil {
    			return nil, fmt.Errorf(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go

    				return nil, nil, "", err
    			}
    		}
    		pvName, pvcUID := pvc.Spec.VolumeName, pvc.UID
    		klog.V(5).InfoS("Found bound PV for PVC", "PVC", klog.KRef(pod.Namespace, pvcSource.ClaimName), "PVCUID", pvcUID, "PVName", pvName)
    		// Fetch actual PV object
    		volumeSpec, volumeGidValue, err :=
    			dswp.getPVSpec(pvName, pvcSource.ReadOnly, pvcUID)
    		if err != nil {
    			return nil, nil, "", fmt.Errorf(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. pkg/controller/volume/expand/expand_controller.go

    	return ""
    }
    
    func (expc *expandController) GetPodVolumeDir(podUID types.UID, pluginName string, volumeName string) string {
    	return ""
    }
    
    func (expc *expandController) GetPodVolumeDeviceDir(podUID types.UID, pluginName string) string {
    	return ""
    }
    
    func (expc *expandController) GetPodPluginDir(podUID types.UID, pluginName string) string {
    	return ""
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/reconciler/reconstruct_test.go

    	pv := &v1.PersistentVolume{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: pvName,
    			UID:  "pvuid",
    		},
    		Spec: v1.PersistentVolumeSpec{
    			ClaimRef:   &v1.ObjectReference{Name: pvcName},
    			VolumeMode: &volumeMode,
    		},
    	}
    	pvc := &v1.PersistentVolumeClaim{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: pvcName,
    			UID:  "pvcuid",
    		},
    		Spec: v1.PersistentVolumeClaimSpec{
    			VolumeName: pvName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/pod_devices.go

    func (pdev *podDevices) containerDevices(podUID, contName, resource string) sets.Set[string] {
    	pdev.RLock()
    	defer pdev.RUnlock()
    	if _, podExists := pdev.devs[podUID]; !podExists {
    		return nil
    	}
    	if _, contExists := pdev.devs[podUID][contName]; !contExists {
    		return nil
    	}
    	devs, resourceExists := pdev.devs[podUID][contName][resource]
    	if !resourceExists {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. pkg/kubelet/status/testing/mock_pod_status_provider.go

    func (m *MockPodStartupLatencyStateHelper) DeletePodStartupState(podUID types.UID) {
    	m.ctrl.T.Helper()
    	m.ctrl.Call(m, "DeletePodStartupState", podUID)
    }
    
    // DeletePodStartupState indicates an expected call of DeletePodStartupState.
    func (mr *MockPodStartupLatencyStateHelperMockRecorder) DeletePodStartupState(podUID 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
    - 15.4K bytes
    - Viewed (0)
  7. pkg/kubelet/userns/userns_manager.go

    		return err
    	}
    
    	for _, podUID := range found {
    		allFound.Insert(string(podUID))
    	}
    
    	// Lets remove all the pods "found" that are not known.
    	for _, podUID := range found {
    		if allPods.Has(string(podUID)) {
    			continue
    		}
    
    		klog.V(5).InfoS("Clean up orphaned pod user namespace possible allocation", "podUID", podUID)
    		m.releaseWithLock(podUID)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. pkg/volume/fc/fc.go

    	}
    	mapper.MetricsProvider = volume.NewMetricsBlock(filepath.Join(blockPath, string(podUID)))
    
    	return mapper, nil
    }
    
    func (plugin *fcPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	// Inject real implementations here, test through the internal function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top