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

vpcConfig: auto 遇到vpc删除时s deploy 支持自动恢复 #985

Open
lowkeyrd opened this issue May 17, 2023 · 0 comments
Open

vpcConfig: auto 遇到vpc删除时s deploy 支持自动恢复 #985

lowkeyrd opened this issue May 17, 2023 · 0 comments

Comments

@lowkeyrd
Copy link
Contributor

问题:指定vpcConfig: auto后,组件会自动创建出vpc资源。用户如果删除了vpc,重新部署时会报vpc不存在,并且无法恢复。

指定vpcConfig: auto后,是否创建vpc的判断逻辑是:如果service远端没有指定vpc,才会去检查是否有可用的vpc,没有可用的就自动创建。所以遇到上述问题后,先去掉service的vpc并且deploy一次,再加上vpcConfig: auto再deploy会实现恢复效果,这个做法太tricky了,不能推荐给用户使用。

诉求:指定vpcConfig: auto,说明vpc就完全对用户透明由工具帮忙托管,当删除vpc后,有机制通过deploy重新恢复。可以在当前组件中升级,也可以考虑以插件来提供。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant