- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 194 for pvcs (0.04 sec)
-
pkg/controller/volume/ephemeral/controller.go
pvc, err := ec.pvcLister.PersistentVolumeClaims(pod.Namespace).Get(pvcName) if err != nil && !errors.IsNotFound(err) { return err } if pvc != nil { if err := ephemeral.VolumeIsForPod(pod, pvc); err != nil { return err } // Already created, nothing more to do. logger.V(5).Info("Ephemeral: PVC already created", "volumeName", vol.Name, "PVC", klog.KObj(pvc)) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 9.2K bytes - Viewed (0) -
pkg/features/kube_features.go
// of code conflicts because changes are more likely to be scattered // across the file. // owner: @ttakahashi21 @mkimuram // kep: https://kep.k8s.io/3294 // alpha: v1.26 // // Enable usage of Provision of PVCs from snapshots in other namespaces CrossNamespaceVolumeDataSource featuregate.Feature = "CrossNamespaceVolumeDataSource" // owner: @thockin // deprecated: v1.29 //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 22:51:23 UTC 2024 - 45.2K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/attach_detach_controller.go
logger.V(4).Info("Error getting namespace & name of pvc to get pvc from informer", "pvcKey", key, "err", err) return nil } pvc, err := adc.pvcLister.PersistentVolumeClaims(namespace).Get(name) if apierrors.IsNotFound(err) { logger.V(4).Info("Error getting pvc from informer", "pvcKey", key, "err", err) return nil } if err != nil { return err } if pvc.Status.Phase != v1.ClaimBound || pvc.Spec.VolumeName == "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 32.6K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_utils.go
// isClaimOwnerUpToDate returns false if the ownerRefs of the claim are not set consistently with the // PVC deletion policy for the StatefulSet. // // If there are stale references or unexpected controllers, this returns true in order to not touch // PVCs that have gotten into this unknown state. Otherwise the ownerships are checked to match the // PVC retention policy: // // Retain on scaling and set deletion: no owner ref
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 26.7K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/pv_controller_base.go
return } for _, pvc := range pvcs { ctrl.enqueueWork(ctx, ctrl.claimQueue, pvc) } pvs, err := ctrl.volumeLister.List(labels.NewSelector()) if err != nil { logger.Info("Cannot list persistent volumes", "err", err) return } for _, pv := range pvs { ctrl.enqueueWork(ctx, ctrl.volumeQueue, pv) } } // setClaimProvisioner saves
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 29.5K bytes - Viewed (0) -
operator/pkg/helmreconciler/wait.go
// deployment holds associated replicaSets for a deployment type deployment struct { replicaSets *appsv1.ReplicaSet deployment *appsv1.Deployment } // WaitForResources polls to get the current status of all pods, PVCs, and Services // until all are ready or a timeout is reached func WaitForResources(objects object.K8sObjects, client kube.Client, waitTimeout time.Duration, dryRun bool, l *progress.ManifestLog, ) error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 08 03:13:12 UTC 2023 - 13.1K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
informerFactory := informers.NewSharedInformerFactory(cs, 0) for _, pvc := range test.pvcs { metav1.SetMetaDataAnnotation(&pvc.ObjectMeta, volume.AnnBindCompleted, "true") cs.CoreV1().PersistentVolumeClaims(pvc.Namespace).Create(ctx, &pvc, metav1.CreateOptions{}) if pvName := pvc.Spec.VolumeName; pvName != "" { pv := v1.PersistentVolume{ObjectMeta: metav1.ObjectMeta{Name: pvName}}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go
// Needed for persistent volumes // Use the Node authorization mode to limit a node to get pv/pvc objects referenced by pods bound to itself. rbacv1helpers.NewRule("get").Groups(legacyGroup).Resources("persistentvolumeclaims", "persistentvolumes").RuleOrDie(), // TODO: add to the Node authorizer and restrict to endpoints referenced by pods or PVs bound to the node // Needed for glusterfs volumes
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 19:25:10 UTC 2024 - 34.4K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_control.go
// If a pod has a stale PVC, no more work can be done this round. return true, err } } if err := ssc.podControl.CreateStatefulPod(ctx, set, replicas[i]); err != nil { return true, err } if monotonic { // if the set does not allow bursting, return immediately return true, nil } } // If the Pod is in pending state then trigger PVC creation to create missing PVCs
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:03:46 UTC 2024 - 30.9K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_test.go
t.Errorf(onPolicy("Could not update claim with new owner ref: %v", err)) } *set.Spec.Replicas = 3 // Until the stale PVC goes away, the scale up should never finish. Run 10 iterations, then delete the PVC. if err := scaleUpStatefulSetControllerBounded(logger, set, ssc, spc, om, 10); err != nil { t.Errorf(onPolicy("Failed attempt to scale StatefulSet back up: %v", err)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 33.1K bytes - Viewed (0)