- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 295 for pvcs (0.06 sec)
-
pkg/controller/volume/common/common.go
) const ( // PodPVCIndex is the lookup name for the index function, which is to index by pod pvcs. PodPVCIndex = "pod-pvc-index" ) // PodPVCIndexFunc creates an index function that returns PVC keys (= // namespace/name) for given pod. This includes the PVCs // that might be created for generic ephemeral volumes. func PodPVCIndexFunc() func(obj interface{}) ([]string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 11 18:54:20 UTC 2021 - 2.2K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/volume_binding.go
// It evaluates if a pod can fit due to the volumes it requests, // for both bound and unbound PVCs. // // For PVCs that are bound, then it checks that the corresponding PV's node affinity is // satisfied by the given node. // // For PVCs that are unbound, it tries to find available PVs that can satisfy the PVC requirements // and that the PV node affinity is satisfied by the given node. //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 16 14:13:06 UTC 2024 - 16.4K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/test_utils.go
}, }} } func (pvcb pvcBuilder) withBoundPV(pvName string) pvcBuilder { pvcb.PersistentVolumeClaim.Spec.VolumeName = pvName metav1.SetMetaDataAnnotation(&pvcb.PersistentVolumeClaim.ObjectMeta, volume.AnnBindCompleted, "true") return pvcb } func (pvcb pvcBuilder) withRequestStorage(request resource.Quantity) pvcBuilder { pvcb.PersistentVolumeClaim.Spec.Resources = v1.VolumeResourceRequirements{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 13 07:42:19 UTC 2023 - 4.9K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_pod_control_test.go
fakeClient := &fake.Clientset{} pvcs := getPersistentVolumeClaims(set, pod) pvcIndexer := cache.NewIndexer(cache.MetaNamespaceKeyFunc, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}) deleteTime := time.Date(2019, time.January, 1, 0, 0, 0, 0, time.UTC) for k := range pvcs { pvc := pvcs[k] pvc.DeletionTimestamp = &metav1.Time{Time: deleteTime} pvcIndexer.Add(&pvc) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 35.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go
runningPod := st.MakePod().PVC("csi-ebs.csi.aws.com-3").Obj() pendingVolumePod := st.MakePod().PVC("csi-4").Obj() // Different pod than pendingVolumePod, but using the same unbound PVC unboundPVCPod2 := st.MakePod().PVC("csi-4").Obj() missingPVPod := st.MakePod().PVC("csi-6").Obj() noSCPVCPod := st.MakePod().PVC("csi-5").Obj()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 18:07:11 UTC 2024 - 28.6K bytes - Viewed (0) -
pkg/api/persistentvolumeclaim/util.go
// See KEP 1495 for details. // Specifically, if this is an update of a PVC with no data source, or a creation of a new PVC, // and the dataSourceRef field is not filled in, then we will drop "invalid" data sources // (anything other than a PVC or a VolumeSnapshot) from this request as if an empty PVC had // been requested. // This should be called after DropDisabledFields so that if the AnyVolumeDataSource feature
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:18:56 UTC 2023 - 8.3K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions_test.go
} func TestAccessModeConflicts(t *testing.T) { // Required for querying lister for PVCs in the same namespace. podWithOnePVC := st.MakePod().Name("pod-with-one-pvc").Namespace(metav1.NamespaceDefault).PVC("claim-with-rwop-1").Node("node-1").Obj() podWithTwoPVCs := st.MakePod().Name("pod-with-two-pvcs").Namespace(metav1.NamespaceDefault).PVC("claim-with-rwop-1").PVC("claim-with-rwop-2").Node("node-1").Obj()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 20 17:40:39 UTC 2023 - 17.3K bytes - Viewed (0) -
staging/src/k8s.io/api/apps/v1beta1/types_swagger_doc_generated.go
"whenDeleted": "whenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted.",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 10 05:34:30 UTC 2023 - 23.1K bytes - Viewed (0) -
common-protos/k8s.io/api/apps/v1beta1/generated.proto
// StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs // created from the StatefulSet VolumeClaimTemplates. message StatefulSetPersistentVolumeClaimRetentionPolicy { // whenDeleted specifies what happens to PVCs created from StatefulSet // VolumeClaimTemplates when the StatefulSet is deleted. The default policy // of `Retain` causes PVCs to not be affected by StatefulSet deletion. The
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 24K bytes - Viewed (0) -
pkg/controller/volume/pvcprotection/pvc_protection_controller.go
return err } logger.V(3).Info("Removed protection finalizer from PVC", "PVC", klog.KObj(pvc)) return nil } func (c *Controller) isBeingUsed(ctx context.Context, pvc *v1.PersistentVolumeClaim) (bool, error) { // Look for a Pod using pvc in the Informer's cache. If one is found the // correct decision to keep pvc is taken without doing an expensive live
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 14K bytes - Viewed (0)