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

calico的 CustomResourceDefinition 需要同步升级至 apiextensions.k8s.io/v1 #576

Closed
oldthreefeng opened this issue Jan 8, 2021 · 6 comments

Comments

@oldthreefeng
Copy link
Collaborator

Warning: apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition

哪个命令或者组件
网络组件

详细描述你的需求/任务

是否有解决方案,如果有请详述
通过xxx方案来解决该任务(设想)
1.16+ 使用apiextensions.k8s.io/v1的配置文件即可.

@fanux
Copy link
Member

fanux commented Jan 18, 2021

是不是可以考虑直接升级calico

@oldthreefeng
Copy link
Collaborator Author

oldthreefeng commented Jan 18, 2021

我以前写过一版. 直接把yaml 写到最新.

通过kubernetes版本来判断, 这个还不行. 因为我们打包的tar用的是旧的镜像..

@oldthreefeng
Copy link
Collaborator Author

这个放在 1.21+ 全部换吧, 不然也不好控制版本.

@fanux
Copy link
Member

fanux commented Jan 27, 2021

我们tar是啥镜像不是根据yaml来的嘛。 打包是先起了一个集群然后在集群上save镜像的啊

@oldthreefeng
Copy link
Collaborator Author

是的, 但是你save镜像的版本号是在文件写好的, 所以和sealos还得匹配上, 这就很难办....

@oldthreefeng
Copy link
Collaborator Author

fixed by #657

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

2 participants