8000 6. Known Issues · kubernetes-client/java Wiki · GitHub
[go: up one dir, main page]

Skip to content

6. Known Issues

Min Kim edited this page Nov 24, 2020 · 1 revision

Known Issues (not yet resolved)

1. Exception on deleting resources: "java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT..."

This is happening because openapi schema from kubernetes upstream doesn't match its implementation due to the limitation of openapi v2 schema expression #86. Consider either catch and ignore the JsonSyntaxException or do the deletion in the following form:

  • Use Kubectl equivalence, see examples here
  • Use generic kubernetes api, see examples here
0