Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for ecsi (0.14 sec)

  1. pkg/volume/util/device_util_linux.go

    			devices = append(devices, filepath.Join("/dev/", f.Name()))
    		}
    	}
    	return devices
    }
    
    // GetISCSIPortalHostMapForTarget given a target iqn, find all the scsi hosts logged into
    // that target. Returns a map of iSCSI portals (string) to SCSI host numbers (integers).
    //
    //	For example: {
    //	   "192.168.30.7:3260": 2,
    //	   "192.168.30.8:3260": 3,
    //	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_util.go

    	attrs := map[string]string{
    		"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/serviceAccount.name": pod.Spec.ServiceAccountName,
    		"csi.storage.k8s.io/ephemeral":           strconv.FormatBool(volumeMode == storage.VolumeLifecycleEphemeral),
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 28 17:14:00 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_drivers_store.go

    limitations under the License.
    */
    
    package csi
    
    import (
    	"sync"
    
    	utilversion "k8s.io/apimachinery/pkg/util/version"
    )
    
    // Driver is a description of a CSI Driver, defined by an endpoint and the
    // highest CSI version supported
    type Driver struct {
    	endpoint                string
    	highestSupportedVersion *utilversion.Version
    }
    
    // DriversStore holds a list of CSI Drivers
    type DriversStore struct {
    	store
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  4. 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)
  5. pkg/volume/util/metrics.go

    		if spec.Volume != nil && spec.Volume.CSI != nil {
    			return fmt.Sprintf("%s:%s", pluginName, spec.Volume.CSI.Driver)
    		}
    		if spec.PersistentVolume != nil && spec.PersistentVolume.Spec.CSI != nil {
    			return fmt.Sprintf("%s:%s", pluginName, spec.PersistentVolume.Spec.CSI.Driver)
    		}
    	}
    	return pluginName
    }
    
    // RecordOperationLatencyMetric records the end to end latency for certain operation
    // into metric volume_operation_total_seconds
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 23 23:05:31 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  6. src/runtime/cgo/gcc_386.S

     *
     * Calling into the gc tool chain, where all registers are caller save.
     * Called from standard x86 ABI, where %ebp, %ebx, %esi,
     * and %edi are callee-save, so they must be saved explicitly.
     */
    .globl EXT(crosscall1)
    EXT(crosscall1):
    	pushl %ebp
    	movl %esp, %ebp
    	pushl %ebx
    	pushl %esi
    	pushl %edi
    
    	movl 16(%ebp), %eax	/* g */
    	pushl %eax
    	movl 12(%ebp), %eax	/* setg_gcc */
    	call *%eax
    	popl %eax
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 12 03:56:58 UTC 2023
    - 959 bytes
    - Viewed (0)
  7. samples/security/spire/istio-spire-config.yaml

                  - name: workload-socket
                    mountPath: /run/secrets/workload-spiffe-uds
                    readOnly: true
                volumes:
                  - name: workload-socket
                    csi:
                      driver: "csi.spiffe.io"
                      readOnly: true
      components:
        ingressGateways:
          - name: istio-ingressgateway
            enabled: true
            label:
              istio: ingressgateway
            k8s:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 24 22:08:56 UTC 2023
    - 2.4K 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/volume/csi/expander.go

    	csiSource, err := getCSISourceFromSpec(resizeOptions.VolumeSpec)
    	if err != nil {
    		return false, errors.New(log("Expander.NodeExpand failed to get CSI persistent source: %v", err))
    	}
    
    	csClient, err := newCsiDriverClient(csiDriverName(csiSource.Driver))
    	if err != nil {
    		// Treat the absence of the CSI driver as a transient error
    		// See https://github.com/kubernetes/kubernetes/issues/120268
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 17:23:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. pkg/volume/csi/csi_metrics.go

    	currentTime := metav1.Now()
    	ctx, cancel := context.WithTimeout(context.Background(), csiTimeout)
    	defer cancel()
    	// Get CSI client
    	csiClient, err := mc.csiClientGetter.Get()
    	if err != nil {
    		// Treat the absence of the CSI driver as a transient error
    		// See https://github.com/kubernetes/kubernetes/issues/120268
    		return nil, volumetypes.NewTransientOperationFailure(err.Error())
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top