Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 180 for GcePersistentDisk (0.62 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/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)
  4. 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 (1)
  5. 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)
  6. 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)
  7. pkg/controller/volume/attachdetach/util/util_test.go

    					Name:      "kube-apiserver",
    					Namespace: "default",
    				},
    				Spec: v1.PodSpec{
    					Volumes: []v1.Volume{
    						{
    							Name: migratedVolume,
    							VolumeSource: v1.VolumeSource{
    								GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{
    									PDName:    "test-disk",
    									FSType:    "ext4",
    									Partition: 0,
    									ReadOnly:  false,
    								},
    							},
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 05:42:38 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. staging/src/k8s.io/api/testdata/HEAD/storage.k8s.io.v1beta1.VolumeAttachment.yaml

            readOnly: true
            secretRef:
              name: nameValue
              namespace: namespaceValue
          flocker:
            datasetName: datasetNameValue
            datasetUUID: datasetUUIDValue
          gcePersistentDisk:
            fsType: fsTypeValue
            partition: 3
            pdName: pdNameValue
            readOnly: true
          glusterfs:
            endpoints: endpointsValue
            endpointsNamespace: endpointsNamespaceValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:26:35 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top