Score:4

enable ephemeral containers AWS EKS

cn flag

I'm trying to debug a distroless POD by trying kubectl debug which uses ephemeral containers that are disabled by default in aws eks. I'm using aws eks 1.21

✗  kubectl debug -it opentelemetry-collector-agent-6hqvf --image=busybox --target=some-app

error: ephemeral containers are disabled for this cluster (error from server: "the server could not find the requested resource")

So how to enable them for EKS?

in flag
According to [the fine manual](https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/), they "are not suitable for production clusters" so it's likely EKS considers them a stability risk. If you need that level of control, consider using [EKS Anywhere](https://github.com/aws/eks-anywhere#readme) or your own distro for troubleshooting
russau avatar
ca flag
There's a EKS roadmap issue tracking "feature gates" you'd need to allow ephemeral containers https://github.com/aws/containers-roadmap/issues/512
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.