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

Failed to add k8s namespace. k8s operation error [Operation: [list] for kind: [Namespace] with name: [null] in namespace: [null] failed.] #15338

Closed
2 of 3 tasks
wangchao732 opened this issue Dec 19, 2023 · 5 comments
Labels
bug Something isn't working Waiting for reply Waiting for reply

Comments

@wangchao732
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

ds UI 上添加k8s命名空间报错 k8s操作报错[Operation: [list] for kind: [Namespace] with name: [null] in namespace: [null] failed.]

本地客户端(ds 本地服务器)可以通过kubectl 添加。

What you expected to happen

k8s操作报错[Operation: [list] for kind: [Namespace] with name: [null] in namespace: [null] failed.]

How to reproduce

不太了解哪里问题,你们可以添加测试看看能否复现

Anything else

No response

Version

3.2.x

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@wangchao732 wangchao732 added bug Something isn't working Waiting for reply Waiting for reply labels Dec 19, 2023
@github-actions github-actions bot changed the title 添加k8s 命名空间失败 k8s操作报错[Operation: [list] for kind: [Namespace] with name: [null] in namespace: [null] failed.] Failed to add k8s namespace. k8s operation error [Operation: [list] for kind: [Namespace] with name: [null] in namespace: [null] failed.] Dec 19, 2023
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

Error when adding k8s namespace on ds UI. Error in k8s operation [Operation: [list] for kind: [Namespace] with name: [null] in namespace: [null] failed.]

Local clients (ds local server) can be added via kubectl.

What you expected to happen

k8s operation error [Operation: [list] for kind: [Namespace] with name: [null] in namespace: [null] failed.]

How to reproduce

I don’t quite understand what the problem is. Can you add a test to see if it can be reproduced?

Anything else

No response

Version

3.2.x

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@QuanhanSun
Copy link

I have met the similar problem , you can restart api server after add the cluster info to aviod it.

@wangchao732
Copy link
Author

I'm glad to hear from you, it's okay to create a namespace in advance after the restart. I'm running into a new issue, Error: Master must start with yarn,spark,mesos, or localRun with --help for usage help or --verbose for debug output
Uploading e713f6a16fde1cbd2231659219d82e2.png…

@QuanhanSun
Copy link

During my deployment in k8s, i had not met this problem, you may provide more information for others to help

@wangchao732
Copy link
Author

在我部署 k8s 的过程中,我没有遇到这个问题,您可以提供更多信息供其他人帮助

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Waiting for reply Waiting for reply
Projects
None yet
Development

No branches or pull requests

2 participants