Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Migration (0.28 sec)

  1. pkg/apis/storagemigration/types.go

    const (
    	// Indicates that the migration is running.
    	MigrationRunning MigrationConditionType = "Running"
    	// Indicates that the migration has completed successfully.
    	MigrationSucceeded MigrationConditionType = "Succeeded"
    	// Indicates that the migration has failed.
    	MigrationFailed MigrationConditionType = "Failed"
    )
    
    // Describes the state of a migration at a certain point.
    type MigrationCondition struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/storagemigration/v1alpha1/generated.proto

      // to migrate. When the .status.conditions indicates the migration is
      // "Running", users can use this token to check the progress of the
      // migration.
      // +optional
      optional string continueToken = 2;
    }
    
    // Status of the storage version migration.
    message StorageVersionMigrationStatus {
      // The latest available observations of the migration's current state.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/storagemigration/v1alpha1/types_swagger_doc_generated.go

    	"":         "StorageVersionMigration represents a migration of stored data to the latest storage version.",
    	"metadata": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
    	"spec":     "Specification of the migration.",
    	"status":   "Status of the migration.",
    }
    
    func (StorageVersionMigration) SwaggerDoc() map[string]string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/storagemigration/v1alpha1/types.go

    const (
    	// Indicates that the migration is running.
    	MigrationRunning MigrationConditionType = "Running"
    	// Indicates that the migration has completed successfully.
    	MigrationSucceeded MigrationConditionType = "Succeeded"
    	// Indicates that the migration has failed.
    	MigrationFailed MigrationConditionType = "Failed"
    )
    
    // Describes the state of a migration at a certain point.
    type MigrationCondition struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. pkg/volume/csimigration/plugin_manager.go

    // to CSI Migration is valid. It will return whether the migration is complete
    // by looking up the pluginUnregister flag
    func CheckMigrationFeatureFlags(f featuregate.FeatureGate, pluginMigration,
    	pluginUnregister featuregate.Feature) (migrationComplete bool, err error) {
    	// This is for in-tree plugin that get migration finished
    	if f.Enabled(pluginMigration) && f.Enabled(pluginUnregister) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. pkg/volume/csimigration/plugin_manager_test.go

    		inTreePluginUnregisterEnabled bool
    		csiMigrationResult            bool
    		csiMigrationCompleteResult    bool
    	}{
    		{
    			name:                          "gce-pd migration flag enabled and migration-complete flag disabled with CSI migration flag",
    			pluginName:                    "kubernetes.io/gce-pd",
    			pluginFeatureEnabled:          true,
    			csiMigrationEnabled:           true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. pkg/controller/storageversionmigrator/storageversionmigrator.go

    	data, err := json.Marshal(typeMeta)
    	if err != nil {
    		return err
    	}
    
    	// ToDo: implement a mechanism to resume migration from the last migrated resource in case of a failure
    	// process storage migration
    	for _, gvrKey := range resourceMonitor.Store.ListKeys() {
    		namespace, name, err := cache.SplitMetaNamespaceKey(gvrKey)
    		if err != nil {
    			return err
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. cmd/kubelet/app/plugins_providers.go

    	_, err := csimigration.CheckMigrationFeatureFlags(featureGate, pluginInfo.pluginMigrationFeature, pluginInfo.pluginUnregisterFeature)
    	if err != nil {
    		klog.InfoS("Unexpected CSI Migration Feature Flags combination detected, CSI Migration may not take effect", "err", err)
    		// TODO: fail and return here once alpha only tests can set the feature flags for a plugin correctly
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. cmd/kube-controller-manager/app/plugins_providers.go

    	_, err := csimigration.CheckMigrationFeatureFlags(featureGate, pluginInfo.pluginMigrationFeature, pluginInfo.pluginUnregisterFeature)
    	if err != nil {
    		logger.Error(err, "Unexpected CSI Migration Feature Flags combination detected. CSI Migration may not take effect")
    		klog.FlushAndExit(klog.ExitFlushTimeout, 1)
    		// TODO: fail and return here once alpha only tests can set the feature flags for a plugin correctly
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. pkg/controller/storageversionmigrator/resourceversion.go

    )
    
    // ResourceVersionController adds the resource version obtained from a randomly nonexistent namespace
    // to the SVM status before the migration is initiated. This resource version is utilized for checking
    // freshness of GC cache before the migration is initiated.
    type ResourceVersionController struct {
    	discoveryClient *discovery.DiscoveryClient
    	metadataClient  metadata.Interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top