- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for RevertAssumedPodVolumes (0.25 sec)
-
pkg/scheduler/framework/plugins/volumebinding/fake_binder.go
b.AssumeCalled = true return b.config.AllBound, b.config.AssumeErr } // RevertAssumedPodVolumes implements SchedulerVolumeBinder.RevertAssumedPodVolumes func (b *FakeVolumeBinder) RevertAssumedPodVolumes(_ *PodVolumes) {} // BindPodVolumes implements SchedulerVolumeBinder.BindPodVolumes.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 21 03:28:12 UTC 2023 - 2.7K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/binder.go
// // This function is called serially. AssumePodVolumes(logger klog.Logger, assumedPod *v1.Pod, nodeName string, podVolumes *PodVolumes) (allFullyBound bool, err error) // RevertAssumedPodVolumes will revert assumed PV and PVC cache. RevertAssumedPodVolumes(podVolumes *PodVolumes) // BindPodVolumes will: // 1. Initiate the volume binding by making the API call to prebind the PV // to its matching PVC.
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/volumebinding/volume_binding.go
if err != nil { return } // we don't need to hold the lock as only one node may be unreserved podVolumes, ok := s.podVolumesByNode[nodeName] if !ok { return } pl.Binder.RevertAssumedPodVolumes(podVolumes) } // New initializes a new plugin and returns it. func New(ctx context.Context, plArgs runtime.Object, fh framework.Handle, fts feature.Features) (framework.Plugin, error) {
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/binder_test.go
if allbound || err != nil { t.Errorf("No volumes are assumed") } testEnv.validateAssume(t, pod, expectedBindings, expectedProvisionings) testEnv.binder.RevertAssumedPodVolumes(podVolumes) testEnv.validateCacheRestored(t, pod, bindings, provisionedPVCs) } func TestBindAPIUpdate(t *testing.T) { type scenarioType struct { // Inputs bindings []*BindingInfo
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 82.8K bytes - Viewed (0)