Class DeploymentStrategy

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<DeploymentStrategyBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class DeploymentStrategy
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<DeploymentStrategyBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    DeploymentStrategy describes how to perform a deployment.
    See Also:
    Serialized Form
    • Method Detail

      • getActiveDeadlineSeconds

        public Long getActiveDeadlineSeconds()
        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.
      • setActiveDeadlineSeconds

        public void setActiveDeadlineSeconds​(Long activeDeadlineSeconds)
        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.
      • getAnnotations

        public Map<String,​String> getAnnotations()
        annotations is a set of key, value pairs added to custom deployer and lifecycle pre/post hook pods.
      • setAnnotations

        public void setAnnotations​(Map<String,​String> annotations)
        annotations is a set of key, value pairs added to custom deployer and lifecycle pre/post hook pods.
      • setCustomParams

        public void setCustomParams​(CustomDeploymentStrategyParams customParams)
        DeploymentStrategy describes how to perform a deployment.
      • getLabels

        public Map<String,​String> getLabels()
        labels is a set of key, value pairs added to custom deployer and lifecycle pre/post hook pods.
      • setLabels

        public void setLabels​(Map<String,​String> labels)
        labels is a set of key, value pairs added to custom deployer and lifecycle pre/post hook pods.
      • setRecreateParams

        public void setRecreateParams​(RecreateDeploymentStrategyParams recreateParams)
        DeploymentStrategy describes how to perform a deployment.
      • getResources

        public io.fabric8.kubernetes.api.model.ResourceRequirements getResources()
        DeploymentStrategy describes how to perform a deployment.
      • setResources

        public void setResources​(io.fabric8.kubernetes.api.model.ResourceRequirements resources)
        DeploymentStrategy describes how to perform a deployment.
      • setRollingParams

        public void setRollingParams​(RollingDeploymentStrategyParams rollingParams)
        DeploymentStrategy describes how to perform a deployment.
      • getType

        public String getType()
        type is the name of a deployment strategy.
      • setType

        public void setType​(String type)
        type is the name of a deployment strategy.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)