You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/gem/path/k8s-client-35b5020f99de/lib/k8s/transport.rb:261:in `parse_response': POST /cluster/path/api/v1/namespaces/some-namespace/pods => HTTP 400 Bad Request: Eviction in version "v1beta1" cannot be handled as a Pod: converting (v1beta1.Eviction) to (core.Pod): Spec not present in src (K8s::Error::BadRequest)
i am trying to create an eviction for a pod using the eviction api.
using
i get:
considering https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/ the correct path for the post should be
/api/v1/namespaces/some-namespace/pods/some-pod/eviction
this obviously can't work right now, as i have no interface to set the pod within the request.
leaving me to ask for a feature to cover this :)
The text was updated successfully, but these errors were encountered: