Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 122 for podAdd (0.11 sec)

  1. pkg/kubelet/server/stats/testing/mock_stats_provider.go

    func (m *MockProvider) ListVolumesForPod(podUID types.UID) (map[string]volume.Volume, bool) {
    	m.ctrl.T.Helper()
    	ret := m.ctrl.Call(m, "ListVolumesForPod", podUID)
    	ret0, _ := ret[0].(map[string]volume.Volume)
    	ret1, _ := ret[1].(bool)
    	return ret0, ret1
    }
    
    // ListVolumesForPod indicates an expected call of ListVolumesForPod.
    func (mr *MockProviderMockRecorder) ListVolumesForPod(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
    - 11.8K bytes
    - Viewed (0)
  2. pkg/volume/local/local.go

    		mountOptions: util.MountOptionFromSpec(spec),
    		readOnly:     readOnly,
    	}, nil
    
    }
    
    func (plugin *localVolumePlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return &localVolumeUnmounter{
    		localVolume: &localVolume{
    			podUID:  podUID,
    			volName: volName,
    			mounter: plugin.host.GetMounter(plugin.GetPluginName()),
    			plugin:  plugin,
    		},
    	}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. tests/integration/pilot/istioctl_test.go

    				return nil
    			}, retry.Timeout(time.Second*20))
    
    			retry.UntilSuccessOrFail(t, func() error {
    				podID, err := getPodID(apps.A[0])
    				if err != nil {
    					return fmt.Errorf("could not get Pod ID: %v", err)
    				}
    				args := []string{
    					"--namespace=dummy",
    					"x", "describe", "pod", fmt.Sprintf("%s.%s", podID, apps.Namespace.Name()),
    				}
    				output, _, err := istioCtl.Invoke(args)
    				if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/reconciler/reconstruct_common.go

    		VolumeName          string `json:"volumeName"`
    		PodName             string `json:"podName"`
    		VolumeSpecName      string `json:"volumeSpecName"`
    		OuterVolumeSpecName string `json:"outerVolumeSpecName"`
    		PodUID              string `json:"podUID"`
    		VolumeGIDValue      string `json:"volumeGIDValue"`
    		DevicePath          string `json:"devicePath"`
    		SeLinuxMountContext string `json:"seLinuxMountContext"`
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. pkg/kubelet/pleg/generic_test.go

    	podID := types.UID("test-pod")
    	pods := []*kubecontainer.Pod{{
    		ID:         podID,
    		Containers: []*kubecontainer.Container{infraContainer},
    	}}
    	runtimeMock.EXPECT().GetPods(ctx, true).Return(pods, nil).Times(1)
    
    	goodStatus := &kubecontainer.PodStatus{
    		ID:                podID,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/dra/manager.go

    	for _, claimInfo := range m.cache.claimInfo {
    		for podUID := range claimInfo.PodUIDs {
    			if activePods.Has(podUID) {
    				continue
    			}
    			if inactivePodClaims[podUID] == nil {
    				inactivePodClaims[podUID] = &podClaims{
    					uid:        types.UID(podUID),
    					namespace:  claimInfo.Namespace,
    					claimNames: []string{},
    				}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:29 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. pkg/volume/local/local_test.go

    	"k8s.io/mount-utils"
    )
    
    const (
    	testPVName                        = "pvA"
    	testMountPath                     = "pods/poduid/volumes/kubernetes.io~local-volume/pvA"
    	testGlobalPath                    = "plugins/kubernetes.io~local-volume/volumeDevices/pvA"
    	testPodPath                       = "pods/poduid/volumeDevices/kubernetes.io~local-volume"
    	testBlockFormattingToFSGlobalPath = "plugins/kubernetes.io/local-volume/mounts/pvA"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 10:53:39 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  8. pkg/volume/csi/csi_block.go

      /var/lib/kubelet/plugins/kubernetes.io/csi/volumeDevices/staging/{specName} ... Staging path
      /var/lib/kubelet/plugins/kubernetes.io/csi/volumeDevices/publish/{specName}/{podUID} ... Publish path
      /var/lib/kubelet/pods/{podUID}/volumeDevices/kubernetes.io~csi/ ... Pod device map path
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/cache/actual_state_of_world.go

    		}
    	}
    
    	podName := opts.PodName
    	podUID := opts.PodUID
    	volumeName := opts.VolumeName
    	mounter := opts.Mounter
    	blockVolumeMapper := opts.BlockVolumeMapper
    	outerVolumeSpecName := opts.OuterVolumeSpecName
    	volumeGidValue := opts.VolumeGidVolume
    	volumeSpec := opts.VolumeSpec
    
    	podObj = mountedPod{
    		podName:                podName,
    		podUID:                 podUID,
    		mounter:                mounter,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/cpumanager/policy_static.go

    func (p *staticPolicy) RemoveContainer(s state.State, podUID string, containerName string) error {
    	klog.InfoS("Static policy: RemoveContainer", "podUID", podUID, "containerName", containerName)
    	cpusInUse := getAssignedCPUsOfSiblings(s, podUID, containerName)
    	if toRelease, ok := s.GetCPUSet(podUID, containerName); ok {
    		s.Delete(podUID, containerName)
    		// Mutate the shared pool, adding released cpus.
    		toRelease = toRelease.Difference(cpusInUse)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 28.8K bytes
    - Viewed (0)
Back to top