Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 314 for volumeID (0.1 sec)

  1. pkg/volume/nfs/nfs_test.go

    	client := fake.NewSimpleClientset(pv, claim)
    
    	plugMgr := volume.VolumePluginMgr{}
    	plugMgr.InitPlugins(ProbeVolumePlugins(volume.VolumeConfig{}), nil /* prober */, volumetest.NewFakeVolumeHost(t, tmpDir, client, nil))
    	plug, _ := plugMgr.FindPluginByName(nfsPluginName)
    
    	// readOnly bool is supplied by persistent-claim volume source when its mounter creates other volumes
    	spec := volume.NewSpecFromPersistentVolume(pv, true)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 9K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/cache/desired_state_of_wold_selinux_metrics.go

    		},
    		[]string{"access_mode"},
    	)
    	seLinuxPodContextMismatchErrors = compbasemetrics.NewGaugeVec(
    		&compbasemetrics.GaugeOpts{
    			Name:           "volume_manager_selinux_pod_context_mismatch_errors_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)
  3. pkg/volume/plugins_test.go

    	if err == nil {
    		t.Errorf("Should return error if volume spec is nil")
    	}
    
    	volumeSpec := &Spec{}
    	_, err = vpm.FindPluginBySpec(volumeSpec)
    	if err != nil {
    		t.Errorf("Should return test plugin if volume spec is not nil")
    	}
    }
    
    func Test_ValidatePodTemplate(t *testing.T) {
    	pod := &v1.Pod{
    		Spec: v1.PodSpec{
    			Volumes: []v1.Volume{
    				{
    					Name:         "vol",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. pkg/kubelet/config/defaults.go

    */
    
    package config
    
    // Defines sane defaults for the kubelet config.
    const (
    	DefaultKubeletPodsDirName                = "pods"
    	DefaultKubeletVolumesDirName             = "volumes"
    	DefaultKubeletVolumeSubpathsDirName      = "volume-subpaths"
    	DefaultKubeletVolumeDevicesDirName       = "volumeDevices"
    	DefaultKubeletPluginsDirName             = "plugins"
    	DefaultKubeletPluginsRegistrationDirName = "plugins_registry"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 25 00:57:47 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  5. cmd/kube-controller-manager/app/options/persistentvolumebindercontroller.go

    	fs.StringVar(&o.VolumeConfiguration.PersistentVolumeRecyclerConfiguration.PodTemplateFilePathNFS, "pv-recycler-pod-template-filepath-nfs", o.VolumeConfiguration.PersistentVolumeRecyclerConfiguration.PodTemplateFilePathNFS, "The file path to a pod definition used as a template for NFS persistent volume recycling")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. pkg/volume/iscsi/disk_manager.go

    }
    
    // utility to mount a disk based filesystem
    // globalPDPath: global mount path like, /var/lib/kubelet/plugins/kubernetes.io/iscsi/{ifaceName}/{portal-some_iqn-lun-lun_id}
    // volPath: pod volume dir path like, /var/lib/kubelet/pods/{podUID}/volumes/kubernetes.io~iscsi/{volumeName}
    func diskSetUp(manager diskManager, b iscsiDiskMounter, volPath string, mounter mount.Interface, fsGroup *int64, fsGroupChangePolicy *v1.PodFSGroupChangePolicy) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_pods_windows_test.go

    	"testing"
    
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    	v1 "k8s.io/api/core/v1"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	"k8s.io/kubernetes/pkg/volume/util/hostutil"
    	"k8s.io/kubernetes/pkg/volume/util/subpath"
    )
    
    func TestMakeMountsWindows(t *testing.T) {
    	// TODO: remove skip once the failing test has been fixed.
    	t.Skip("Skip failing test on Windows.")
    	container := v1.Container{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. cmd/storage-interface.go

    	// Volume operations.
    	MakeVol(ctx context.Context, volume string) (err error)
    	MakeVolBulk(ctx context.Context, volumes ...string) (err error)
    	ListVols(ctx context.Context) (vols []VolInfo, err error)
    	StatVol(ctx context.Context, volume string) (vol VolInfo, err error)
    	DeleteVol(ctx context.Context, volume string, forceDelete bool) (err error)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. pkg/volume/secret/secret.go

    type secretPlugin struct {
    	host      volume.VolumeHost
    	getSecret func(namespace, name string) (*v1.Secret, error)
    }
    
    var _ volume.VolumePlugin = &secretPlugin{}
    
    func wrappedVolumeSpec() volume.Spec {
    	return volume.Spec{
    		Volume: &v1.Volume{VolumeSource: v1.VolumeSource{EmptyDir: &v1.EmptyDirVolumeSource{Medium: v1.StorageMediumMemory}}},
    	}
    }
    
    func getPath(uid types.UID, volName string, host volume.VolumeHost) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. cluster/addons/metrics-server/metrics-server-deployment.yaml

              - --minClusterSize={{ metrics_server_min_cluster_size }}
              # Use kube-apiserver metrics to avoid periodically listing nodes.
              - --use-metrics=true
          volumes:
          - name: metrics-server-config-volume
            configMap:
              name: metrics-server-config
          - emptyDir: {}
            name: tmp-dir
          tolerations:
            - key: "CriticalAddonsOnly"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 07:50:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top