Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for gcePersistentDisk (0.38 sec)

  1. pkg/controller/volume/attachdetach/testing/testvolumespec.go

    	}
    	if spec.Volume != nil {
    		return spec.Name(), nil
    	} else if spec.PersistentVolume != nil {
    		if spec.PersistentVolume.Spec.PersistentVolumeSource.GCEPersistentDisk != nil {
    			return spec.PersistentVolume.Spec.PersistentVolumeSource.GCEPersistentDisk.PDName, nil
    		} else if spec.PersistentVolume.Spec.PersistentVolumeSource.NFS != nil {
    			return spec.PersistentVolume.Spec.PersistentVolumeSource.NFS.Server, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 17 08:48:30 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  2. cluster/gce/addons/cloud-pvl-admission/mutating-webhook-configuration.yaml

        scope:       "*"
      clientConfig:
        url: "https://127.0.0.1:9001/admit"
        caBundle: "__CLOUD_PVL_ADMISSION_CA_CERT__"
      matchConditions:
      - name: "only-gce"
        expression: "has(object.spec.gcePersistentDisk)"
      admissionReviewVersions: ["v1"]
      sideEffects: None
      timeoutSeconds: 5
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 02 23:15:32 UTC 2023
    - 699 bytes
    - Viewed (0)
  3. pkg/api/testing/replication_controller_example.json

                            "hostPath": null,
                            "emptyDir": {
                                "medium": ""
                            },
                            "gcePersistentDisk": null,
                            "awsElasticBlockStore": null,
                            "gitRepo": null,
                            "secret": null,
                            "nfs": null,
                            "iscsi": null,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name: "pod1",
    			UID:  "pod1uid",
    		},
    		Spec: v1.PodSpec{
    			Volumes: []v1.Volume{
    				{
    					Name: "volume-name",
    					VolumeSource: v1.VolumeSource{
    						GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{
    							PDName: "fake-device1",
    						},
    					},
    				},
    			},
    		},
    	}
    	volumeSpec := &volume.Spec{Volume: &pod.Spec.Volumes[0]}
    	devicePath := "fake/device/path"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumesource.go

    // with apply.
    type PersistentVolumeSourceApplyConfiguration struct {
    	GCEPersistentDisk    *GCEPersistentDiskVolumeSourceApplyConfiguration    `json:"gcePersistentDisk,omitempty"`
    	AWSElasticBlockStore *AWSElasticBlockStoreVolumeSourceApplyConfiguration `json:"awsElasticBlockStore,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 13.5K bytes
    - Viewed (0)
  6. pkg/controller/volume/persistentvolume/index_test.go

    		},
    		Spec: v1.PersistentVolumeSpec{
    			Capacity: v1.ResourceList{
    				v1.ResourceName(v1.ResourceStorage): resource.MustParse("1G"),
    			},
    			PersistentVolumeSource: v1.PersistentVolumeSource{
    				GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{},
    			},
    			AccessModes: []v1.PersistentVolumeAccessMode{v1.ReadWriteOnce, v1.ReadOnlyMany},
    			// this one we're pretending is already bound
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 44K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions.go

    	for _, existingVolume := range pod.Spec.Volumes {
    		// Same GCE disk mounted by multiple pods conflicts unless all pods mount it read-only.
    		if volume.GCEPersistentDisk != nil && existingVolume.GCEPersistentDisk != nil {
    			disk, existingDisk := volume.GCEPersistentDisk, existingVolume.GCEPersistentDisk
    			if disk.PDName == existingDisk.PDName && !(disk.ReadOnly && existingDisk.ReadOnly) {
    				return true
    			}
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 17:40:39 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  8. pkg/volume/validation/pv_validation.go

    }
    
    func checkMountOption(pv *api.PersistentVolume) field.ErrorList {
    	allErrs := field.ErrorList{}
    	// if PV is of these types we don't return errors
    	// since mount options is supported
    	if pv.Spec.GCEPersistentDisk != nil ||
    		pv.Spec.AWSElasticBlockStore != nil ||
    		pv.Spec.Glusterfs != nil ||
    		pv.Spec.NFS != nil ||
    		pv.Spec.RBD != nil ||
    		pv.Spec.Quobyte != nil ||
    		pv.Spec.ISCSI != nil ||
    		pv.Spec.Cinder != nil ||
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 09 11:14:08 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name: "pod3",
    			UID:  "pod3uid",
    		},
    		Spec: v1.PodSpec{
    			Volumes: []v1.Volume{
    				{
    					Name: "volume-name",
    					VolumeSource: v1.VolumeSource{
    						GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{
    							PDName: "fake-device1",
    						},
    					},
    				},
    			},
    		},
    	}
    
    	volumeSpec := &volume.Spec{Volume: &pod.Spec.Volumes[0]}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 34K bytes
    - Viewed (0)
  10. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    			Volumes: []v1.Volume{
    				{
    					Name: "volume-name",
    					VolumeSource: v1.VolumeSource{
    						GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{
    							PDName: "fake-device1",
    						},
    					},
    				},
    				{
    					Name: "volume-name2",
    					VolumeSource: v1.VolumeSource{
    						GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{
    							PDName: "fake-device2",
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
Back to top