Skip to content
Docs Try Aspire

DeploymentStrategyV1

Class sealed net10.0
📦 Aspire.Hosting.Kubernetes v13.1.2-preview.1.26125.13
Describes the strategy used to replace old Pods with new ones in a Kubernetes Deployment.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class DeploymentStrategyV1
{
// ...
}
View all constructors
RollingUpdateget; set
Represents the configuration for rolling update behavior in a deployment strategy. Defines parameters such as the maximum number of pods that can be unavailable during the update process or the maximum number of extra pods that can be created during a rolling update.
Typeget; set
string
Specifies the type of deployment strategy to be used. Common values include "Recreate" or "RollingUpdate".
View all properties