Closed gheinrich closed 5 years ago
@astefanutti you might want to verify this on your end. In particular, being a k8s noob I'm unsure whether this relates to the specific configuration of my k8s cluster. In the API docs I saw support for both POST
and GET
on the exec
endpoint (?).
@gheinrich Thanks. It seems POST
is the preferred way, though I'll do some testing on my k8s setups.
Use HTTP POST instead of HTTP GET when hitting the
/api/v1/namespaces/${namespace}/pods/${pod}/exec
endpoint.This aligns with
kubectl
version v1.12.2 behaviour.Fixes #26