Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 359 for volumeID (0.15 sec)

  1. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    			[]string{"Warning FailedAttachVolume Multi-Attach error for volume \"volume-name\" Volume is already used by pod(s) pod2"},
    		},
    		{
    			"pods in another namespace use the volume",
    			[]nodeWithPods{
    				{"node1", []string{"ns1/pod1"}},
    				{"node2", []string{"ns2/pod2"}},
    			},
    			[]string{"Warning FailedAttachVolume Multi-Attach error for volume \"volume-name\" Volume is already used by 1 pod(s) in different namespaces"},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  2. pkg/api/pod/util_test.go

    		"Spec.Volumes[*].VolumeSource.AzureFile.SecretName",
    		"Spec.Volumes[*].VolumeSource.CephFS.SecretRef",
    		"Spec.Volumes[*].VolumeSource.Cinder.SecretRef",
    		"Spec.Volumes[*].VolumeSource.FlexVolume.SecretRef",
    		"Spec.Volumes[*].VolumeSource.Projected.Sources[*].Secret",
    		"Spec.Volumes[*].VolumeSource.RBD.SecretRef",
    		"Spec.Volumes[*].VolumeSource.Secret",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  3. pkg/volume/emptydir/empty_dir.go

    		return "", fmt.Errorf("Spec does not reference an EmptyDir volume type")
    	}
    
    	// Return user defined volume name, since this is an ephemeral volume type
    	return spec.Name(), nil
    }
    
    func (plugin *emptyDirPlugin) CanSupport(spec *volume.Spec) bool {
    	return spec.Volume != nil && spec.Volume.EmptyDir != nil
    }
    
    func (plugin *emptyDirPlugin) RequiresRemount(spec *volume.Spec) bool {
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. 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)
  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/util/util.go

    func IsLocalEphemeralVolume(volume v1.Volume) bool {
    	return volume.GitRepo != nil ||
    		(volume.EmptyDir != nil && volume.EmptyDir.Medium == v1.StorageMediumDefault) ||
    		volume.ConfigMap != nil
    }
    
    // GetLocalPersistentVolumeNodeNames returns the node affinity node name(s) for
    // local PersistentVolumes. nil is returned if the PV does not have any
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K 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/controller/statefulset/stateful_set_utils.go

    }
    
    // storageMatches returns true if pod's Volumes cover the set of PersistentVolumeClaims
    func storageMatches(set *apps.StatefulSet, pod *v1.Pod) bool {
    	ordinal := getOrdinal(pod)
    	if ordinal < 0 {
    		return false
    	}
    	volumes := make(map[string]v1.Volume, len(pod.Spec.Volumes))
    	for _, volume := range pod.Spec.Volumes {
    		volumes[volume.Name] = volume
    	}
    	for _, claim := range set.Spec.VolumeClaimTemplates {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  10. cmd/storage-rest-client.go

    	return client.diskInfoCache.GetWithCtx(ctx)
    }
    
    // MakeVolBulk - create multiple volumes in a bulk operation.
    func (client *storageRESTClient) MakeVolBulk(ctx context.Context, volumes ...string) (err error) {
    	return errInvalidArgument
    }
    
    // MakeVol - create a volume on a remote disk.
    func (client *storageRESTClient) MakeVol(ctx context.Context, volume string) (err error) {
    	return errInvalidArgument
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.4K bytes
    - Viewed (0)
Back to top