# EphemeralContainerV1 Constructors

- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Type: [EphemeralContainerV1](/reference/api/csharp/aspire.hosting.kubernetes/ephemeralcontainerv1.md)
- Kind: `Constructors`
- Members: `1`

Represents an ephemeral container specification in a Kubernetes Pod. Ephemeral containers enable running short-lived operations or debugging within an already running Pod.

## EphemeralContainerV1

- Name: `Constructor`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/EphemeralContainerV1.cs#L21-L203)

```csharp
public sealed class EphemeralContainerV1
{
    public EphemeralContainerV1()
    {
        // ...
    }
}
```
