Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 217 for ecsi (0.06 sec)

  1. pkg/scheduler/framework/plugins/nodevolumelimits/csi.go

    		return fmt.Errorf("converting volume(%s) from inline to csi: %w", vol.Name, err)
    	}
    	driverName, err := pl.translator.GetCSINameFromInTreeName(inTreeProvisionerName)
    	if err != nil {
    		return fmt.Errorf("looking up CSI driver name for provisioner %s: %w", inTreeProvisionerName, err)
    	}
    	// TranslateInTreeInlineVolumeToCSI should translate inline volume to CSI. If it is not set,
    	// the volume does not support inline. Skip the count.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go

    	// In-tree volumes
    	inTreeOneVolPod := st.MakePod().PVC("csi-kubernetes.io/aws-ebs-0").Obj()
    	inTreeTwoVolPod := st.MakePod().PVC("csi-kubernetes.io/aws-ebs-1").PVC("csi-kubernetes.io/aws-ebs-2").Obj()
    
    	// pods with matching csi driver names
    	csiEBSOneVolPod := st.MakePod().PVC("csi-ebs.csi.aws.com-0").Obj()
    	csiEBSTwoVolPod := st.MakePod().PVC("csi-ebs.csi.aws.com-1").PVC("csi-ebs.csi.aws.com-2").Obj()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/storage/v1/types.go

    	// This list might grow, but the prefix will be used.
    	// "csi.storage.k8s.io/pod.name": pod.Name
    	// "csi.storage.k8s.io/pod.namespace": pod.Namespace
    	// "csi.storage.k8s.io/pod.uid": string(pod.UID)
    	// "csi.storage.k8s.io/ephemeral": "true" if the volume is an ephemeral inline volume
    	//                                 defined by a CSIVolumeSource, otherwise "false"
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 32K bytes
    - Viewed (0)
  4. pkg/volume/csi/csi_plugin_test.go

    			case rec.Spec.Volume != nil:
    				if rec.Spec.Volume.CSI == nil {
    					t.Error("missing CSIVolumeSource in constructed volume.Spec")
    				}
    				if rec.Spec.Volume.CSI.Driver != tc.originSpec.Volume.CSI.Driver {
    					t.Error("unexpected driver in constructed volume source:", rec.Spec.Volume.CSI.Driver)
    				}
    
    			case rec.Spec.PersistentVolume != nil:
    				if rec.Spec.PersistentVolume.Spec.CSI == 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)
  5. pkg/volume/csimigration/plugin_manager.go

    	"errors"
    	"fmt"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/component-base/featuregate"
    	csilibplugins "k8s.io/csi-translation-lib/plugins"
    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/volume"
    )
    
    // PluginNameMapper contains utility methods to retrieve names of plugins
    // that support a spec, map intree <=> migrated CSI plugin names, etc
    type PluginNameMapper interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_plugin.go

    	}
    
    	// Storing endpoint of newly registered CSI driver into the map, where CSI driver name will be the key
    	// all other CSI components will be able to get the actual socket of CSI drivers by its name.
    	csiDrivers.Set(pluginName, Driver{
    		endpoint:                endpoint,
    		highestSupportedVersion: highestSupportedVersion,
    	})
    
    	// Get node info from the driver.
    	csi, err := newCsiDriverClient(csiDriverName(pluginName))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_mounter_test.go

    			driver:                "info",
    			volumeContext:         nil,
    			expectedVolumeContext: map[string]string{"csi.storage.k8s.io/pod.uid": "test-pod", "csi.storage.k8s.io/serviceAccount.name": "test-service-account", "csi.storage.k8s.io/pod.name": "test-pod", "csi.storage.k8s.io/pod.namespace": "test-ns", "csi.storage.k8s.io/ephemeral": "false"},
    		},
    		{
    			name:                  "add pod info -> keep existing volumeContext",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  8. pkg/controller/volume/expand/expand_controller_test.go

    			expansionCalled: false,
    		},
    		{
    			name:            "for csi plugin without migration path",
    			pv:              getFakePersistentVolume("vol-5", "com.csi.ceph", "1Gi", "ceph-csi-pvc-vol-6"),
    			pvc:             getFakePersistentVolumeClaim("ceph-csi-pvc", "vol-5", "1Gi", "2Gi", "ceph-csi-pvc-vol-6"),
    			pvcKey:          "default/ceph-csi-pvc",
    			expansionCalled: false,
    			hasError:        false,
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. pkg/controller/volume/persistentvolume/pv_controller_test.go

    			expectedVolumes: volumesWithAnnotation(volume.AnnDynamicallyProvisioned, "gcr.io/vendor-csi", []*v1.PersistentVolume{newExternalProvisionedVolume("volume5-6", "10Gi", "uid5-6", "claim5-6",...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  10. pkg/apis/storage/validation/validation_test.go

    				Name:         "io.kubernetes.storage.csi.driver",
    				NodeID:       nodeID,
    				TopologyKeys: []string{"company.com/zone1", "company.com/zone2"},
    			}},
    		},
    	}, {
    		// driver name: dash only
    		ObjectMeta: metav1.ObjectMeta{Name: "foo2"},
    		Spec: storage.CSINodeSpec{
    			Drivers: []storage.CSINodeDriver{{
    				Name:         "io-kubernetes-storage-csi-driver",
    				NodeID:       nodeID,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
Back to top