Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for NodeStageVolume (3.2 sec)

  1. pkg/volume/csi/csi_block.go

    Summary of block volume related CSI driver's methods are as follows:
     - GetGlobalMapPath returns a global map path,
     - GetPodDeviceMapPath returns a pod device map path and filename,
     - SetUpDevice calls CSI's NodeStageVolume and stage a volume to its staging path,
     - MapPodDevice calls CSI's NodePublishVolume and publish a volume to its publish path,
     - UnmapPodDevice calls CSI's NodeUnpublishVolume and unpublish a volume from its publish 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)
  2. pkg/volume/csi/csi_block_test.go

    	if err != nil {
    		t.Fatalf("mapper failed to SetupDevice: %v", err)
    	}
    
    	// Check if NodeStageVolume staged to the right path
    	svols := csiMapper.csiClient.(*fakeCsiDriverClient).nodeClient.GetNodeStagedVolumes()
    	svol, ok := svols[csiMapper.volumeID]
    	if !ok {
    		t.Error("csi server may not have received NodeStageVolume call")
    	}
    	if svol.Path != stagingPath {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_client.go

    	return err
    }
    
    func (c *csiDriverClient) NodeStageVolume(ctx context.Context,
    	volID string,
    	publishContext map[string]string,
    	stagingTargetPath string,
    	fsType string,
    	accessMode api.PersistentVolumeAccessMode,
    	secrets map[string]string,
    	volumeContext map[string]string,
    	mountOptions []string,
    	fsGroup *int64,
    ) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 20 10:15:36 UTC 2022
    - 22.1K bytes
    - Viewed (0)
  4. pkg/volume/csi/csi_client_test.go

    	return err
    }
    
    func (c *fakeCsiDriverClient) NodeStageVolume(ctx context.Context,
    	volID string,
    	publishContext map[string]string,
    	stagingTargetPath string,
    	fsType string,
    	accessMode api.PersistentVolumeAccessMode,
    	secrets map[string]string,
    	volumeContext map[string]string,
    	mountOptions []string,
    	fsGroup *int64,
    ) error {
    	c.t.Log("calling fake.NodeStageVolume...")
    	req := &csipbv1.NodeStageVolumeRequest{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  5. pkg/volume/csi/fake/fake_client.go

    		return nil, fmt.Errorf("failed to remove publish path %s: %s", req.TargetPath, err)
    	}
    
    	return &csipb.NodeUnpublishVolumeResponse{}, nil
    }
    
    // NodeStagevolume implements csi method
    func (f *NodeClient) NodeStageVolume(ctx context.Context, req *csipb.NodeStageVolumeRequest, opts ...grpc.CallOption) (*csipb.NodeStageVolumeResponse, error) {
    	if f.nextErr != nil {
    		return nil, f.nextErr
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 16K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_attacher.go

    		klog.V(3).Infof("Driver %s supports applying FSGroup (has VOLUME_MOUNT_GROUP node capability). Delegating FSGroup application to the driver through NodeStageVolume.", csiSource.Driver)
    		nodeStageFSGroupArg = deviceMounterArgs.FsGroup
    	}
    
    	fsType := csiSource.FSType
    	err = csi.NodeStageVolume(ctx,
    		csiSource.VolumeHandle,
    		publishContext,
    		deviceMountPath,
    		fsType,
    		accessMode,
    		nodeStageSecrets,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 07:38:14 UTC 2023
    - 25.9K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_attacher_test.go

    		},
    		{
    			testName:                       "fsgroup provided, driver supports volume mount group; expect fsgroup to be passed to NodeStageVolume",
    			volName:                        "test-vol1",
    			devicePath:                     "path1",
    			deviceMountPath:                "path2",
    			fsGroup:                        &testFSGroup,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.23.md

    - For raw block CSI volumes on Kubernetes, kubelet was incorrectly calling CSI NodeStageVolume for every single "map" (i.e. raw block "mount") operation for a volume already attached to the node. This PR ensures it is only called once per volume per node. ([#112403](https://github.com/kubernetes/kubernetes/pull/112403), [@akankshakumar...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 28 21:06:52 UTC 2023
    - 424.5K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/core/v1/generated.proto

      optional SecretReference controllerPublishSecretRef = 6;
    
      // nodeStageSecretRef is a reference to the secret object containing sensitive
      // information to pass to the CSI driver to complete the CSI NodeStageVolume
      // and NodeStageVolume and NodeUnstageVolume calls.
      // This field is optional, and may be empty if no secret is required. If the
      // secret object contains more than one secret, all secrets are passed.
      // +optional
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  10. pkg/apis/core/types.go

    	// +optional
    	ControllerPublishSecretRef *SecretReference
    
    	// NodeStageSecretRef is a reference to the secret object containing sensitive
    	// information to pass to the CSI driver to complete the CSI NodeStageVolume
    	// and NodeStageVolume and NodeUnstageVolume calls.
    	// This field is optional, and may be empty if no secret is required. If the
    	// secret object contains more than one secret, all secrets are passed.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
Back to top