- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 113 for PersistentVolumeClaim (0.37 sec)
-
pkg/volume/util/resize_util_test.go
basePVC := makePVC([]v1.PersistentVolumeClaimCondition{}) tests := []struct { name string pvc *v1.PersistentVolumeClaim expectedPVC *v1.PersistentVolumeClaim testFunc func(*v1.PersistentVolumeClaim, clientset.Interface, resource.Quantity) (*v1.PersistentVolumeClaim, error) }{ { name: "mark fs resize, with no other conditions", pvc: basePVC.get(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 9.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/binder_test.go
}, "pvc-not-found": { cachePVCs: []*v1.PersistentVolumeClaim{}, podPVCs: []*v1.PersistentVolumeClaim{boundPVC}, shouldFail: true, }, "bound-pvc": { podPVCs: []*v1.PersistentVolumeClaim{boundPVC}, pvs: []*v1.PersistentVolume{pvBound}, }, "bound-pvc,pv-not-exists": { podPVCs: []*v1.PersistentVolumeClaim{boundPVC}, shouldFail: false,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 82.8K bytes - Viewed (0) -
pkg/api/persistentvolumeclaim/util_test.go
func TestDropDisabledSnapshotDataSource(t *testing.T) { pvcWithoutDataSource := func() *core.PersistentVolumeClaim { return &core.PersistentVolumeClaim{ Spec: core.PersistentVolumeClaimSpec{ DataSource: nil, }, } } apiGroup := "snapshot.storage.k8s.io" pvcWithDataSource := func() *core.PersistentVolumeClaim { return &core.PersistentVolumeClaim{ Spec: core.PersistentVolumeClaimSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.9K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/assume_cache.go
return &PVCAssumeCache{ AssumeCache: assumecache.NewAssumeCache(logger, informer, "v1.PersistentVolumeClaim", "", nil), logger: logger, } } func (c *PVCAssumeCache) GetPVC(pvcKey string) (*v1.PersistentVolumeClaim, error) { obj, err := c.Get(pvcKey) if err != nil { return nil, err } pvc, ok := obj.(*v1.PersistentVolumeClaim) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 3.7K bytes - Viewed (0) -
pkg/kubelet/metrics/collectors/volume_stats.go
"Capacity in bytes of the volume", []string{"namespace", "persistentvolumeclaim"}, nil, metrics.ALPHA, "", ) volumeStatsAvailableBytesDesc = metrics.NewDesc( metrics.BuildFQName("", kubeletmetrics.KubeletSubsystem, kubeletmetrics.VolumeStatsAvailableBytesKey), "Number of available bytes in the volume", []string{"namespace", "persistentvolumeclaim"}, nil, metrics.ALPHA, "", )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 5.3K bytes - Viewed (0) -
pkg/registry/core/persistentvolumeclaim/strategy_test.go
"v1", "PersistentVolumeClaim", PersistentVolumeClaimToSelectableFields(&api.PersistentVolumeClaim{}), map[string]string{"name": "metadata.name"}, ) } func TestDropConditions(t *testing.T) { ctx := genericapirequest.NewDefaultContext() pvcWithConditions := func() *api.PersistentVolumeClaim { return &api.PersistentVolumeClaim{ Status: api.PersistentVolumeClaimStatus{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 11.2K bytes - Viewed (0) -
pkg/registry/core/persistentvolumeclaim/storage/storage_test.go
t.Fatalf("unexpected error from REST storage: %v", err) } return persistentVolumeClaimStorage, statusStorage, server } func validNewPersistentVolumeClaim(name, ns string) *api.PersistentVolumeClaim { pv := &api.PersistentVolumeClaim{ ObjectMeta: metav1.ObjectMeta{ Name: name, Namespace: ns, }, Spec: api.PersistentVolumeClaimSpec{ AccessModes: []api.PersistentVolumeAccessMode{api.ReadWriteOnce},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/binder.go
// boundClaims are the pod's bound PVCs. boundClaims []*v1.PersistentVolumeClaim // unboundClaimsDelayBinding are the pod's unbound with delayed binding (including provisioning) PVCs. unboundClaimsDelayBinding []*v1.PersistentVolumeClaim // unboundClaimsImmediate are the pod's unbound with immediate binding PVCs (i.e., supposed to be bound already) . unboundClaimsImmediate []*v1.PersistentVolumeClaim
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 14:55:34 UTC 2024 - 42.6K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go
ephemeralEnabled: true, extraClaims: []v1.PersistentVolumeClaim{*ephemeralClaim}, driverNames: []string{ebsCSIDriverName}, test: "ephemeral volume unbound", }, { newPod: ephemeralVolumePod, filterName: "csi", ephemeralEnabled: true, extraClaims: []v1.PersistentVolumeClaim{*ephemeralClaim}, driverNames: []string{ebsCSIDriverName},
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/controller/volume/pvcprotection/pvc_protection_controller.go
// Check whether pvc is used by pod only if pod is scheduled, because // kubelet sees pods after they have been scheduled and it won't allow // starting a pod referencing a PVC with a non-nil deletionTimestamp. if pod.Spec.NodeName != "" { for _, volume := range pod.Spec.Volumes {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 14K bytes - Viewed (0)