能否增加配置导入导出的功能,用于升级或多数据中心的apisix之间进行迁移
Please answer these questions before submitting your issue.
-
Why do you submit this issue?
-
[ ] Other
Question
- What do you want to know?
能否增加配置导入导出的功能,用于升级或多数据中心的apisix之间进行迁移
etcdctl provide snapshot save and snapshot restore, does it meet your requirements?
cc @membphis
This is the function we plan to do, and it is very useful for business users.
Do you have any thoughts on this feature?
How about add two apis to export and import a config file? The config file saves all related data in etcd encoded. Another thing we need to consider is what to do if there is a conflict when import,do you have any expectation? @membphis @juzhiyuan
LGTM, could you propose this feature?
@juzhiyuan Yes, assign to me. Drafts need to be comfirmed:
-
Conflict,if the resource need to keep the only alrealdy exists. Draft: return an error and not import if conflict by default.And provide a parameter to specify skip conflicting item, override conflicting item, or return an error and not import if conflict.
-
Compatible,forward compatible and backward compatible. Draft: return an error and not import if there is a incompatible item.And provide two parameters, one is whether force import all compatible items,the another is whether to list all incompatible items.