# EnvVarV1 Constructors

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

EnvVarV1 represents an environment variable in a Kubernetes resource. It is used to define key-value pairs or to derive values from other Kubernetes resources through a configurable source.

## EnvVarV1

- Name: `Constructor`

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