Skip to content

apps.v1.deploymentStrategy

"DeploymentStrategy describes how to replace existing pods with new ones."

Index

Fields

fn withType

withType(type)

"Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.\n\n"

obj rollingUpdate

"Spec to control the desired behavior of rolling update."

fn rollingUpdate.withMaxSurge

withMaxSurge(maxSurge)

"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."

fn rollingUpdate.withMaxUnavailable

withMaxUnavailable(maxUnavailable)

"IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number."