Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 184 for gcePersistentDisk (0.54 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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PersistentVolume.json

            "fieldsType": "fieldsTypeValue",
            "fieldsV1": {},
            "subresource": "subresourceValue"
          }
        ]
      },
      "spec": {
        "capacity": {
          "capacityKey": "0"
        },
        "gcePersistentDisk": {
          "pdName": "pdNameValue",
          "fsType": "fsTypeValue",
          "partition": 3,
          "readOnly": true
        },
        "awsElasticBlockStore": {
          "volumeID": "volumeIDValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PersistentVolume.json

            "fieldsType": "fieldsTypeValue",
            "fieldsV1": {},
            "subresource": "subresourceValue"
          }
        ]
      },
      "spec": {
        "capacity": {
          "capacityKey": "0"
        },
        "gcePersistentDisk": {
          "pdName": "pdNameValue",
          "fsType": "fsTypeValue",
          "partition": 3,
          "readOnly": true
        },
        "awsElasticBlockStore": {
          "volumeID": "volumeIDValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top