Which versions of OpenShift support Ephemeral Containers?

Solution Verified - Updated -


  • The use of EphemeralContainers for debugging has been discussed in the upstream community but has only seen recent adoption into some Kubernetes deployments.

  • Testing in OpenShift 4.8, the output from the kubectl debug command is:

error: ephemeral containers are disabled for this cluster (error from server: "the server could not find the requested resource").
  • Which versions of OpenShift support the ephemeral containers API?


  • OpenShift Container Platform
    • 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content