Skip to content
DocsTry Aspire
DocsTry

ServicePortV1

Classsealednet8.0
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
Represents a port configuration for a Kubernetes Service in API version V1.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class ServicePortV1
{
// ...
}
This class is used to configure the port settings for a Kubernetes Service. It includes details used to define how the Service exposes ports and communicates with underlying pods.