pub struct DeploymentStrategy {
pub active_deadline_seconds: Option<i64>,
pub annotations: Option<BTreeMap<String, String>>,
pub custom_params: Option<CustomDeploymentStrategyParams>,
pub labels: Option<BTreeMap<String, String>>,
pub recreate_params: Option<RecreateDeploymentStrategyParams>,
pub resources: Option<ResourceRequirements>,
pub rolling_params: Option<RollingDeploymentStrategyParams>,
pub type_: Option<String>,
}Expand description
DeploymentStrategy describes how to perform a deployment.
Fields§
§active_deadline_seconds: Option<i64>ActiveDeadlineSeconds is the duration in seconds that the deployer pods for this deployment config may be active on a node before the system actively tries to terminate them.
annotations: Option<BTreeMap<String, String>>Annotations is a set of key, value pairs added to custom deployer and lifecycle pre/post hook pods.
custom_params: Option<CustomDeploymentStrategyParams>CustomParams are the input to the Custom deployment strategy, and may also be specified for the Recreate and Rolling strategies to customize the execution process that runs the deployment.
labels: Option<BTreeMap<String, String>>Labels is a set of key, value pairs added to custom deployer and lifecycle pre/post hook pods.
recreate_params: Option<RecreateDeploymentStrategyParams>RecreateParams are the input to the Recreate deployment strategy.
resources: Option<ResourceRequirements>Resources contains resource requirements to execute the deployment and any hooks.
rolling_params: Option<RollingDeploymentStrategyParams>RollingParams are the input to the Rolling deployment strategy.
type_: Option<String>Type is the name of a deployment strategy.
Trait Implementations§
Source§impl Clone for DeploymentStrategy
impl Clone for DeploymentStrategy
Source§fn clone(&self) -> DeploymentStrategy
fn clone(&self) -> DeploymentStrategy
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DeploymentStrategy
impl Debug for DeploymentStrategy
Source§impl Default for DeploymentStrategy
impl Default for DeploymentStrategy
Source§fn default() -> DeploymentStrategy
fn default() -> DeploymentStrategy
Source§impl<'de> Deserialize<'de> for DeploymentStrategy
impl<'de> Deserialize<'de> for DeploymentStrategy
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Source§impl PartialEq for DeploymentStrategy
impl PartialEq for DeploymentStrategy
Source§fn eq(&self, other: &DeploymentStrategy) -> bool
fn eq(&self, other: &DeploymentStrategy) -> bool
self and other values to be equal, and is used by ==.