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

Commands on all resources #1610

Open
zoriya opened this issue Jan 23, 2025 · 2 comments
Open

Commands on all resources #1610

zoriya opened this issue Jan 23, 2025 · 2 comments

Comments

@zoriya
Copy link

zoriya commented Jan 23, 2025

I'm trying to make the equivalent of

 kubectl delete all -l name=myLabel

but I don't think the c# client implements operations on all resources.

@tg123
Copy link
Member

tg123 commented Jan 23, 2025

the sdk is a low level api only
kubectl like experience is under development

pr is welcomed

@brendandburns
Copy link
Contributor

You can look at the related Java code here:

https://github.com/kubernetes-client/java/tree/master/extended/src/main/java/io/kubernetes/client/extended/kubectl

If you want some examples of how kubectl commands map to the lower level API.

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

3 participants