Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 73 for PersistentVolumeReclaimPolicy (1.05 sec)

  1. pkg/volume/testing/testing.go

    			Name: fc.Options.PVName,
    			Annotations: map[string]string{
    				util.VolumeDynamicallyCreatedByKey: "fakeplugin-provisioner",
    			},
    		},
    		Spec: v1.PersistentVolumeSpec{
    			PersistentVolumeReclaimPolicy: fc.Options.PersistentVolumeReclaimPolicy,
    			AccessModes:                   fc.Options.PVC.Spec.AccessModes,
    			Capacity: v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/pv_controller_base.go

    		// The provision plugin does not begin with known in-tree plugin volume prefix annotation.
    		return volume.Finalizers, false
    	}
    	reclaimPolicy := volume.Spec.PersistentVolumeReclaimPolicy
    	// Add back the in-tree PV deletion protection finalizer if does not already exists
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  3. pkg/apis/storage/types.go

    	// +optional
    	Parameters map[string]string
    
    	// reclaimPolicy is the reclaim policy that dynamically provisioned
    	// PersistentVolumes of this storage class are created with
    	// +optional
    	ReclaimPolicy *api.PersistentVolumeReclaimPolicy
    
    	// mountOptions are the mount options that dynamically provisioned
    	// PersistentVolumes of this storage class are created with
    	// +optional
    	MountOptions []string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 13 20:24:57 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  4. pkg/apis/core/v1/defaults_test.go

    			t.Errorf("Expected claim phase %v, got %v", v1.ClaimPending, pv1.Status.Phase)
    		}
    		if pv1.Spec.PersistentVolumeReclaimPolicy != v1.PersistentVolumeReclaimRetain {
    			t.Errorf("Expected pv reclaim policy %v, got %v", v1.PersistentVolumeReclaimRetain, pv1.Spec.PersistentVolumeReclaimPolicy)
    		}
    		if *pv1.Spec.VolumeMode != test.expectedVolumeMode {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/core/v1/types.go

    	// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming
    	// +optional
    	PersistentVolumeReclaimPolicy PersistentVolumeReclaimPolicy `json:"persistentVolumeReclaimPolicy,omitempty" protobuf:"bytes,5,opt,name=persistentVolumeReclaimPolicy,casttype=PersistentVolumeReclaimPolicy"`
    	// storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  6. pkg/apis/core/validation/validation.go

    		}
    	}
    
    	if len(pvSpec.PersistentVolumeReclaimPolicy) > 0 {
    		if validateInlinePersistentVolumeSpec {
    			if pvSpec.PersistentVolumeReclaimPolicy != core.PersistentVolumeReclaimRetain {
    				allErrs = append(allErrs, field.Forbidden(fldPath.Child("persistentVolumeReclaimPolicy"), "may only be "+string(core.PersistentVolumeReclaimRetain)+" in the context of inline volumes"))
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  7. pkg/apis/core/types.go

    	// +optional
    	ClaimRef *ObjectReference
    	// Optional: what happens to a persistent volume when released from its claim.
    	// +optional
    	PersistentVolumeReclaimPolicy PersistentVolumeReclaimPolicy
    	// Name of StorageClass to which this persistent volume belongs. Empty value
    	// means that this volume does not belong to any StorageClass.
    	// +optional
    	StorageClassName string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  8. pkg/volume/util/operationexecutor/operation_executor.go

    	//   metadata:
    	//     name: pv0003				<- InnerVolumeSpecName
    	//   spec:
    	//     capacity:
    	//       storage: 5Gi
    	//     accessModes:
    	//       - ReadWriteOnce
    	//     persistentVolumeReclaimPolicy: Recycle
    	//     nfs:
    	//       path: /tmp
    	//       server: 172.17.0.2
    	// Non-PVC example:
    	//   apiVersion: v1
    	//   kind: Pod
    	//   metadata:
    	//     name: test-pd
    	//   spec:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  9. pkg/printers/internalversion/printers.go

    		{Name: "Access Modes", Type: "string", Description: apiv1.PersistentVolumeSpec{}.SwaggerDoc()["accessModes"]},
    		{Name: "Reclaim Policy", Type: "string", Description: apiv1.PersistentVolumeSpec{}.SwaggerDoc()["persistentVolumeReclaimPolicy"]},
    		{Name: "Status", Type: "string", Description: apiv1.PersistentVolumeStatus{}.SwaggerDoc()["phase"]},
    		{Name: "Claim", Type: "string", Description: apiv1.PersistentVolumeSpec{}.SwaggerDoc()["claimRef"]},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  10. pkg/apis/core/v1/zz_generated.conversion.go

    	}
    	out.AccessModes = *(*[]core.PersistentVolumeAccessMode)(unsafe.Pointer(&in.AccessModes))
    	out.ClaimRef = (*core.ObjectReference)(unsafe.Pointer(in.ClaimRef))
    	out.PersistentVolumeReclaimPolicy = core.PersistentVolumeReclaimPolicy(in.PersistentVolumeReclaimPolicy)
    	out.StorageClassName = in.StorageClassName
    	out.MountOptions = *(*[]string)(unsafe.Pointer(&in.MountOptions))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
Back to top