All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.k8s.api.apps.v1.DeploymentStrategy Maven / Gradle / Ivy

There is a newer version: 1.30.4
Show newest version
package io.k8s.api.apps.v1;

import java.lang.String;

/**
 * DeploymentStrategy describes how to replace existing pods with new ones.
 */
public class DeploymentStrategy {
  public RollingUpdateDeployment rollingUpdate;

  public String type;

  public DeploymentStrategy rollingUpdate(RollingUpdateDeployment rollingUpdate) {
    this.rollingUpdate = rollingUpdate;
    return this;
  }

  /**
   * Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
   */
  public DeploymentStrategy type(String type) {
    this.type = type;
    return this;
  }

  public static DeploymentStrategy deploymentStrategy() {
    return new DeploymentStrategy();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy