Deployment Class

Definition

Represents a Kubernetes Deployment resource for managing application deployments in a cluster.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class Deployment : Aspire.Hosting.Kubernetes.Resources.BaseKubernetesResource
[<YamlDotNet.Serialization.YamlSerializable>]
type Deployment = class
    inherit BaseKubernetesResource
Public NotInheritable Class Deployment
Inherits BaseKubernetesResource
Inheritance
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Remarks

The Deployment class is a sealed class derived from the BaseKubernetesResource. It defines the desired state and behavior of a deployment within a Kubernetes cluster, including specifications such as the number of replicas, update strategy, and pod templates. It uses the "apps/v1" API version and the resource kind "Deployment".

Constructors

Deployment()

Represents a Kubernetes Deployment resource for managing application deployments in a cluster.

Properties

ApiVersion

Gets or sets the API version for the Kubernetes resource.

(Inherited from BaseKubernetesObject)
Kind

Gets or sets the kind of the Kubernetes resource.

(Inherited from BaseKubernetesObject)
Metadata

Gets or sets the metadata for the Kubernetes resource.

(Inherited from BaseKubernetesResource)
Spec

Gets or sets the specification of the Kubernetes Deployment resource.

Applies to