- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for migratable (0.23 sec)
-
pkg/volume/csimigration/plugin_manager_test.go
featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, test.pluginFeature, test.pluginFeatureEnabled) migratable, err := pm.IsMigratable(test.spec) if migratable != test.isMigratable { t.Errorf("Expected migratability of spec: %v does not match obtained migratability: %v", test.isMigratable, migratable) } if err != nil { t.Errorf("Unexpected error: %v", err) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 14:55:34 UTC 2024 - 5.5K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/util/util.go
translatedSpec := spec migratable, err := csiMigratedPluginManager.IsMigratable(spec) if err != nil { return nil, err } if !migratable { // Jump out of translation fast so we don't check the node if the spec itself is not migratable return spec, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 10:42:15 UTC 2024 - 12K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodevolumelimits/csi.go
isEphemeral = true default: // Inline Volume does not have PVC. // Need to check if CSI migration is enabled for this inline volume. // - If the volume is migratable and CSI migration is enabled, need to count it // as well. // - If the volume is not migratable, it will be count in non_csi filter. if err := pl.checkAttachableInlineVolume(logger, &vol, csiNode, pod, result); err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 18:07:11 UTC 2024 - 16.6K bytes - Viewed (0) -
pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go
migratable, err := dswp.csiMigratedPluginManager.IsMigratable(volumeSpec) if err != nil { return nil, nil, "", err } if migratable { volumeSpec, err = csimigration.TranslateInTreeSpecToCSI(volumeSpec, pod.Namespace, dswp.intreeToCSITranslator) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 23.8K bytes - Viewed (0) -
pkg/volume/csimigration/plugin_manager.go
default: return false } } // IsMigratable indicates whether CSI migration has been enabled for a volume // plugin that the spec refers to func (pm PluginManager) IsMigratable(spec *volume.Spec) (bool, error) { if spec == nil { return false, fmt.Errorf("could not find if plugin is migratable because volume spec is nil") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 14:55:34 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go
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/expand/expand_controller.go
volumeSpec := volume.NewSpecFromPersistentVolume(pv, false) migratable, err := expc.csiMigratedPluginManager.IsMigratable(volumeSpec) if err != nil { logger.V(4).Info("Failed to check CSI migration status for PVC with error", "pvcKey", key, "err", err) return nil } // handle CSI migration scenarios before invoking FindExpandablePluginBySpec for in-tree if migratable {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 16.2K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/binder.go
StaticBindings []*BindingInfo // DynamicProvisions are PVCs that require dynamic provisioning DynamicProvisions []*v1.PersistentVolumeClaim } // InTreeToCSITranslator contains methods required to check migratable status // and perform translations from InTree PV's to CSI type InTreeToCSITranslator interface { IsPVMigratable(pv *v1.PersistentVolume) bool
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/volume/util/operationexecutor/operation_generator.go
DetachOperationName string = "volume_detach" VerifyControllerAttachedVolumeOpName string = "verify_controller_attached_volume" ) // InTreeToCSITranslator contains methods required to check migratable status // and perform translations from InTree PVs and Inline to CSI type InTreeToCSITranslator interface { IsPVMigratable(pv *v1.PersistentVolume) bool IsInlineMigratable(vol *v1.Volume) bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 101.4K bytes - Viewed (0) -
pkg/apis/core/types.go
// contain AT MOST one value for each of IPv4 and IPv6. // Note: assigning IP ranges to nodes might need to be revisited when we support migratable IPs. // +optional PodCIDRs []string // ID of the node assigned by the cloud provider // Note: format is "<ProviderName>://<ProviderSpecificNodeID>" // +optional ProviderID 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)