Comments (5)
Hi @GregoryVds,
Thanks for reporting. Late last week we made a huge change on the script, now it try to delete the pod by kubectl force mode and, if it not work, by patching the finalizer of stuck resource. We can add more tries to avoid orphan resources.
Please, could you give us the output of kubectl get pod -n dataplane -o json
?
from knsk.
Hi @thyarles,
Thanks for the quick answer! Good to know, I will update to the latest version of knsk in my CI build to get the latest improvements.
When it happened I was actually running commit 257a664 of knsk, which is 3 weeks old, so I certainly doesn't have those latest improvements.
I then tried to run by hand the master version on the cluster and it didn't clean the Pod. But maybe that is just because the 257a664 version had already wiped the Namespace itself, and thus Master version couldn't track resources in that Namespace that was already gone?
Anyway, I am emailing you the JSON dump.
from knsk.
Looking into your JSON I saw:
[...]
"deletionTimestamp": "2020-01-21T00:30:22Z",
[...]
"blockOwnerDeletion": true,
[...]
I think there is something blocking the deletion. What do you think?
from knsk.
Please, take a look at https://github.com/thyarles/knsk/tree/%238-terminating-resources. Don't use the option --delete-orphans
yet, it is not intensive tested.
from knsk.
@thyarles Thanks for the help.
I think there is something blocking the deletion. What do you think?
=> To be honest I have no idea :-) I didn't have time to investigate much more...
I updated my CI script with the latest Master version of knsk.
I will close for now and make sure to reopen this issue in case I see the problem again.
Thanks again for knsk, that's very helpful :-)
from knsk.
Related Issues (20)
- grammar error 'stucked' HOT 3
- feedbak: namespace still exists after knsk run HOT 3
- No issue.. Just a "Thank you" for a wonderful script! HOT 3
- Escape sequences are always output HOT 3
- API calls
- Detection of kubernetes
- Still stuck HOT 1
- Rancher is impossible to delete HOT 2
- problem with ns deletion HOT 9
- "service e2e-test-webhook" not found cause delete failed HOT 2
- using --type=merge to delete a stubborn CRD HOT 1
- Add license HOT 1
- Remove finalizers error HOT 4
- Feedback: Script and developer is awesome. HOT 9
- Add reusable functions
- Improve colors
- Improve documentation
- Create a protected branch for the new release HOT 1
- Improve detection of orphan resources
- Incorporate backup task
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from knsk.