2

kubectl version v1.15.0 was not able to list the pods (and other resources) in tabular form of content type using 'get' command.

kubectl get pods
Error from server (NotAcceptable): the server was unable to respond with a content type that the client supports (get pods)

I tried this using cygwin, cmd & powershell.

Ashish Verma
  • 141
  • 5
  • This works with kubectl version v1.9.6 – Ashish Verma Jul 10 '19 at 20:56
  • Looks like the client indicated types not accepted by the server. From the source code: `StatusReasonNotAcceptable means that the accept types indicated by the client were not acceptable to the server - for instance, attempting to receive protobuf for a resource that supports only json and yaml.` That doesn't say much but for a start, are you sure you're using the correct [kubectl binary](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.15.md#client-binaries)? – Black_Bacardi Jul 11 '19 at 14:37

0 Answers0