case class DeploymentStrategy(rollingUpdate: Optional[RollingUpdateDeployment] = Optional.Absent, type: Optional[String] = Optional.Absent) extends Product with Serializable
DeploymentStrategy describes how to replace existing pods with new ones.
- type
Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DeploymentStrategy
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
DeploymentStrategy(rollingUpdate: Optional[RollingUpdateDeployment] = Optional.Absent, type: Optional[String] = Optional.Absent)
- type
Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
Value Members
-
def
getRollingUpdate: IO[K8sFailure, RollingUpdateDeployment]
Gets rollingUpdate.
Gets rollingUpdate.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getType: IO[K8sFailure, String]
Type of deployment.
Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val rollingUpdate: Optional[RollingUpdateDeployment]
- val type: Optional[String]