Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

ServiceSpecV1

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
Defines the specification for a Kubernetes Service resource.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class ServiceSpecV1
{
// ...
}
This class represents various attributes that define the behavior and configuration of a Kubernetes Service, such as type, IP addresses, load balancer settings, traffic policies, selectors, ports, and session affinity options.
View all constructors
View all properties