Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

ServicePortV1

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
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.
View all constructors
View all properties