Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for volume_plugin (0.24 sec)

  1. pkg/kubelet/volumemanager/cache/desired_state_of_wold_selinux_metrics.go

    			StabilityLevel: compbasemetrics.ALPHA,
    		},
    		[]string{"volume_plugin", "access_mode"},
    	)
    	seLinuxVolumeContextMismatchWarnings = compbasemetrics.NewGaugeVec(
    		&compbasemetrics.GaugeOpts{
    			Name:           "volume_manager_selinux_volume_context_mismatch_warnings_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 12:16:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. pkg/volume/util/metrics.go

    		Help:           "Storage operation duration",
    		Buckets:        []float64{.1, .25, .5, 1, 2.5, 5, 10, 15, 25, 50, 120, 300, 600},
    		StabilityLevel: metrics.ALPHA,
    	},
    	[]string{"volume_plugin", "operation_name", "status", "migrated"},
    )
    
    var storageOperationEndToEndLatencyMetric = metrics.NewHistogramVec(
    	&metrics.HistogramOpts{
    		Name:           "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)
  3. pkg/controller/volume/attachdetach/metrics/metrics.go

    			if err != nil {
    				continue
    			}
    			volumePlugin, err := collector.volumePluginMgr.FindPluginBySpec(volumeSpec)
    			if err != nil {
    				continue
    			}
    			pluginName := volumeutil.GetFullQualifiedPluginNameForVolume(volumePlugin.GetPluginName(), volumeSpec)
    			nodeVolumeMap.add(pod.Spec.NodeName, pluginName)
    		}
    	}
    	return nodeVolumeMap
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 10 06:30:05 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. pkg/kubemark/hollow_kubelet.go

    type HollowKubelet struct {
    	KubeletFlags         *options.KubeletFlags
    	KubeletConfiguration *kubeletconfig.KubeletConfiguration
    	KubeletDeps          *kubelet.Dependencies
    }
    
    func volumePlugins() []volume.VolumePlugin {
    	allPlugins := []volume.VolumePlugin{}
    	allPlugins = append(allPlugins, emptydir.ProbeVolumePlugins()...)
    	allPlugins = append(allPlugins, git_repo.ProbeVolumePlugins()...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:10:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    	testCases := map[string]struct {
    		volumePlugins  []volume.VolumePlugin
    		expectErr      bool
    		expectedErrMsg string
    	}{
    		"volumePlugin is nil": {
    			volumePlugins:  []volume.VolumePlugin{},
    			expectErr:      true,
    			expectedErrMsg: "MapVolume.FindMapperPluginBySpec failed",
    		},
    		"blockVolumePlugin is nil": {
    			volumePlugins:  volumetesting.NewFakeFileVolumePlugin(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  6. cmd/kube-controller-manager/app/plugins_providers.go

    func appendExpandableLegacyProviderVolumes(logger klog.Logger, allPlugins []volume.VolumePlugin, featureGate featuregate.FeatureGate) ([]volume.VolumePlugin, error) {
    	return appendLegacyProviderVolumes(logger, allPlugins, featureGate)
    }
    
    func appendLegacyProviderVolumes(logger klog.Logger, allPlugins []volume.VolumePlugin, featureGate featuregate.FeatureGate) ([]volume.VolumePlugin, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. pkg/volume/plugins.go

    // PersistentVolumePlugin is an extended interface of VolumePlugin and is used
    // by volumes that want to provide long term persistence of data
    type PersistentVolumePlugin interface {
    	VolumePlugin
    	// GetAccessModes describes the ways a given volume can be accessed/mounted.
    	GetAccessModes() []v1.PersistentVolumeAccessMode
    }
    
    // RecyclableVolumePlugin is an extended interface of VolumePlugin and is used
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_volumes_test.go

    	}
    	assert.True(t, testKubelet.volumePlugin.GetNewAttacherCallCount() >= 1, "Expected plugin NewAttacher to be called at least once")
    	assert.NoError(t, volumetest.VerifyWaitForAttachCallCount(
    		1 /* expectedWaitForAttachCallCount */, testKubelet.volumePlugin))
    	assert.NoError(t, volumetest.VerifyAttachCallCount(
    		1 /* expectedAttachCallCount */, testKubelet.volumePlugin))
    	assert.NoError(t, volumetest.VerifyMountDeviceCallCount(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 17 16:53:28 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  9. cmd/kubelet/app/plugins_providers.go

    	"k8s.io/kubernetes/pkg/volume/csimigration"
    	"k8s.io/kubernetes/pkg/volume/portworx"
    )
    
    type probeFn func() []volume.VolumePlugin
    
    func appendPluginBasedOnFeatureFlags(plugins []volume.VolumePlugin, inTreePluginName string,
    	featureGate featuregate.FeatureGate, pluginInfo pluginInfo) ([]volume.VolumePlugin, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. pkg/volume/flexvolume/plugin.go

    type PluginFactory interface {
    	NewFlexVolumePlugin(pluginDir, driverName string, runner exec.Interface) (volume.VolumePlugin, error)
    }
    
    type pluginFactory struct{}
    
    func (pluginFactory) NewFlexVolumePlugin(pluginDir, name string, runner exec.Interface) (volume.VolumePlugin, error) {
    	execPath := filepath.Join(pluginDir, name)
    
    	driverName := utilstrings.UnescapeQualifiedName(name)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top