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

获取不到replicasets #10

Open
devops-Hunter opened this issue Mar 11, 2024 · 1 comment
Open

获取不到replicasets #10

devops-Hunter opened this issue Mar 11, 2024 · 1 comment

Comments

@devops-Hunter
Copy link

kubernetes/proxy/1/apis/apps/v1/namespaces/dev/replicasets?search=true&labelSelector=app=nginx+&namespace=dev
这个获取不到有啥排查思路吗.

{code: 7, data: {}, msg: "获取失败: 400 Bad Request"}

image
image
我看日志是374这行抛出的

@eagle9527
Copy link
Contributor

eagle9527 commented Mar 12, 2024

@devops-Hunter 该错误应该是没安装 metrics-server 监控, replicasets 能获取到的
image
image

可以加一下 Mr.奇淼,让他把你拉到答疑群,可以远程协助

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