Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support to restore in a cluster with different nodes #200

Closed
pawanpraka1 opened this issue Aug 27, 2020 · 0 comments · Fixed by openebs/velero-plugin#118
Closed

add support to restore in a cluster with different nodes #200

pawanpraka1 opened this issue Aug 27, 2020 · 0 comments · Fixed by openebs/velero-plugin#118
Labels
enhancement Add new functionality to existing feature
Milestone

Comments

@pawanpraka1
Copy link
Contributor

pawanpraka1 commented Aug 27, 2020

Right now there is a limitation where we can restore in a cluster which should have same nodes (names only) present. We can add a config map where node mappings are given and while restore time we can use this to map the nodes.

apiVersion: v1
kind: ConfigMap
metadata:
  # any name can be used; Velero uses the labels (below)
  # to identify it rather than the name
  name: change-pvc-node-selector-config
  # must be in the velero namespace
  namespace: velero
  # the below labels should be used verbatim in your
  # ConfigMap.
  labels:
    # this value-less label identifies the ConfigMap as
    # config for a plugin (i.e. the built-in restore item action plugin)
    velero.io/plugin-config: ""
    # this label identifies the name and kind of plugin
    # that this ConfigMap is for.
    velero.io/change-pvc-node: RestoreItemAction
data:
  # add 1+ key-value pairs here, where the key is the old
  # node name and the value is the new node name.
  <old-node-name>: <new-node-name>
@pawanpraka1 pawanpraka1 added this to the v1.0.0 milestone Aug 27, 2020
@pawanpraka1 pawanpraka1 changed the title add support to restore the cluster with different nodes add support to restore in a cluster with different nodes Aug 27, 2020
@pawanpraka1 pawanpraka1 added the enhancement Add new functionality to existing feature label Sep 9, 2020
@pawanpraka1 pawanpraka1 modified the milestones: v1.0.0, v1.0.1 Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Add new functionality to existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant