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

delete_from_yaml #940

Open
hacker-h opened this issue Aug 23, 2019 · 11 comments · May be fixed by #2377
Open

delete_from_yaml #940

hacker-h opened this issue Aug 23, 2019 · 11 comments · May be fixed by #2377
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.

Comments

@hacker-h
Copy link

What is the feature and why do you need it:

Describe the solution you'd like to see:

Similar to the utils.create_from_yaml I would like to also have a delete_from_yaml function deleting all resources described in a yaml manifest.

@hacker-h hacker-h added the kind/feature Categorizes issue or PR as related to a new feature. label Aug 23, 2019
@roycaihw
Copy link
Member

/cc

@roycaihw
Copy link
Member

I can see this being added mimicking kubectl delete -f

cc @micw523

@micw523
Copy link
Contributor

micw523 commented Aug 28, 2019

k. I may think about refactoring the yaml utility too since we have the dynamic client now

@micw523
Copy link
Contributor

micw523 commented Sep 13, 2019

/assign

@calmkart
Copy link

Is there any progress?
maybe i can help to do this feature.(delete_from_yaml)
@micw523

@qw2208
Copy link

qw2208 commented Nov 13, 2019

I'm also wondering if there will be some progress.
@micw523

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 11, 2020
@hacker-h
Copy link
Author

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 11, 2020
@roycaihw roycaihw added the lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. label Feb 11, 2020
@matisiekpl
Copy link

Hello,
What is the status of this feature request? It is very important in my app.
Thanks, Matt

@DiptoChakrabarty
Copy link
Contributor

DiptoChakrabarty commented Jun 15, 2020

This would be a very helpful feature , I could use something like this in my project

@dgimeno777
Copy link

Bumping since this would be a great feature to have. It looks like the Apache Airflow K8s provider module has the described function implemented but it'd probably be better if the functionality was entirely in the kubernetes-client Python module.

kocarba added a commit to kocarba/k8s-python that referenced this issue Mar 25, 2025
…l by DiptoChakrabarty) and update to latest

Revive PR kubernetes-client#1392: Implement delete_from_yaml, solves kubernetes-client#940 (original by DiptoChakrabarty) and update to latest
kocarba added a commit to kocarba/k8s-python that referenced this issue Mar 26, 2025
…date to latest

(original by DiptoChakrabarty)

- Implement delete_from_yaml functionality
- Combine create_from_yaml and delete_from_yaml into yaml_processor, preserving existing signatures for create
kocarba added a commit to kocarba/k8s-python that referenced this issue Mar 26, 2025
…date to latest

(original by @DiptoChakrabarty)

- Implement delete_from_yaml functionality
- Combine create_from_yaml and delete_from_yaml into yaml_processor, preserving existing signatures for create
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.
Projects
None yet
10 participants