# KubernetesServiceCustomizationAnnotation

- Kind: `class`
- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Version: `13.3.0-preview.1.26254.5`
- Namespace: `Aspire.Hosting.Kubernetes`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/KubernetesServiceCustomizationAnnotation.cs)
- Implements: `IResourceAnnotation`

Represents an annotation for customizing a Kubernetes service.

## Definition

```csharp
namespace Aspire.Hosting.Kubernetes;

public sealed class KubernetesServiceCustomizationAnnotation
    : Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
    // ...
}
```

## Remarks

Initializes a new instance of the [KubernetesServiceCustomizationAnnotation](/reference/api/csharp/aspire.hosting.kubernetes/kubernetesservicecustomizationannotation.md) class.

## Constructors

- [KubernetesServiceCustomizationAnnotation(Action<KubernetesResource>)](/reference/api/csharp/aspire.hosting.kubernetes/kubernetesservicecustomizationannotation/constructors.md#constructor-action-kubernetesresource) -- Represents an annotation for customizing a Kubernetes service.

## Properties

- [Configure](/reference/api/csharp/aspire.hosting.kubernetes/kubernetesservicecustomizationannotation/properties.md#configure) : `Action<KubernetesResource>` `get` -- Gets the configuration action for customizing the Kubernetes service.
