Service
Class sealed net10.0
Represents a Kubernetes Service resource in the v1 API version.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class Service : Aspire.Hosting.Kubernetes.Resources.BaseKubernetesResource{ // ...}Remarks
Section titled Remarks The Service class is used to define and configure networking Services within a Kubernetes cluster. It inherits common Kubernetes resource attributes from the BaseKubernetesResource class and provides additional specific configurations through its Spec property, which describes the desired behavior of the Service.