-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Exception when deleting namespaced pod #190
Comments
This is know issue #86 (comment) |
Thank you! |
Another option may be: final Response response = apiClient.deleteNamespacedPodCall(pod.getMetadata().getName(), pod.getMetadata().getNamespace(), new V1DeleteOptions().gracePeriodSeconds(0L).propagationPolicy("Foreground"), null, null, null, null, null, null).execute();
if (!response.isSuccessful()) {
LOGGER.warn("Couldn't delete pod [{}] with reason: {}", pod.getMetadata().getName(), response.message());
} |
Closing as a dup of #86 |
This is very useful.I use the newest java-client with the parameter modified.Thank you! ! ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running Kubernetes 1.9.1 and a snapshot build of this repo as of 505a812, I get this when deleting a namespace pod:
The text was updated successfully, but these errors were encountered: