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

部署发布时候出现 the server could not find the requested resource #603

Open
yuanhao2015 opened this issue Oct 20, 2020 · 7 comments

Comments

@yuanhao2015
Copy link

yuanhao2015 commented Oct 20, 2020

Server Version

- Kubernetes version:1.19.2
- Wayne version:1.8.6

用户部署发布时候,提示 the server could not find the requested resource

@mankouzhuya
Copy link

同问

1 similar comment
@zpfhyj
Copy link

zpfhyj commented Nov 2, 2020

同问

@voilet
Copy link

voilet commented Nov 2, 2020

1.19.2版本生成的文件yaml格式为
apiVersion: apps/v1

wayne 1.8.6生成的头文件为
apiVersion: extensions/v1beta1

需要将前端几个生成文件改掉重新编译下即可

@zpfhyj
Copy link

zpfhyj commented Nov 3, 2020

1.19.2版本生成的文件yaml格式为
api版本:apps / v1

韦恩1.8.6生成的头文件为
api版本:扩展程序/ v1beta1

需要将前端几个生成文件改掉重新编译下即可

求助,具体修改哪个文件,怎么修改

@voilet
Copy link

voilet commented Nov 3, 2020

/src/app/shared/default-models/autoscale.const.ts:11: "apiVersion": "extensions/v1beta1",
./src/app/shared/default-models/ingress.const.ts:2: "apiVersion": "extensions/v1beta1",
./src/app/shared/default-models/statefulset.const.ts:2: "apiVersion": "apps/v1beta1",
./src/app/shared/default-models/deployment.const.ts:2: "apiVersion": "extensions/v1beta1",
./src/app/shared/default-models/daemonset.const.ts:2: "apiVersion": "extensions/v1beta1",

这些个文件修改掉,重新生成一个静像即可
make build-frontend-imag

@zpfhyj
Copy link

zpfhyj commented Nov 3, 2020

/src/app/shared/default-models/autoscale.const.ts:11: "apiVersion": "extensions/v1beta1",
./src/app/shared/default-models/ingress.const.ts:2: "apiVersion": "extensions/v1beta1",
./src/app/shared/default-models/statefulset.const.ts:2: "apiVersion": "apps/v1beta1",
./src/app/shared/default-models/deployment.const.ts:2: "apiVersion": "extensions/v1beta1",
./src/app/shared/default-models/daemonset.const.ts:2: "apiVersion": "extensions/v1beta1",

这些个文件修改掉,重新生成一个静像即可
make build-frontend-imag

谢谢,我试试看

@luochuanzhang
Copy link

请问你的问题解决了吗?我修改后还是不行

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

5 participants