apps.v1.rollingDeploymentStrategyParams
"RollingDeploymentStrategyParams are the input to the Rolling deployment strategy."
Index
fn withIntervalSeconds(intervalSeconds)
fn withMaxSurge(maxSurge)
fn withMaxUnavailable(maxUnavailable)
fn withTimeoutSeconds(timeoutSeconds)
fn withUpdatePeriodSeconds(updatePeriodSeconds)
obj post
obj pre
Fields
fn withIntervalSeconds
withIntervalSeconds(intervalSeconds)
"IntervalSeconds is the time to wait between polling deployment status after update. If the value is nil, a default will be used."
fn withMaxSurge
withMaxSurge(maxSurge)
fn withMaxUnavailable
withMaxUnavailable(maxUnavailable)
fn withTimeoutSeconds
withTimeoutSeconds(timeoutSeconds)
"TimeoutSeconds is the time to wait for updates before giving up. If the value is nil, a default will be used."
fn withUpdatePeriodSeconds
withUpdatePeriodSeconds(updatePeriodSeconds)
"UpdatePeriodSeconds is the time to wait between individual pod updates. If the value is nil, a default will be used."
obj post
"LifecycleHook defines a specific deployment lifecycle action. Only one type of action may be specified at any time."
fn post.withFailurePolicy
withFailurePolicy(failurePolicy)
"FailurePolicy specifies what action to take if the hook fails."
fn post.withTagImages
withTagImages(tagImages)
"TagImages instructs the deployer to tag the current image referenced under a container onto an image stream tag."
fn post.withTagImagesMixin
withTagImagesMixin(tagImages)
"TagImages instructs the deployer to tag the current image referenced under a container onto an image stream tag."
Note: This function appends passed data to existing values
obj post.execNewPod
"ExecNewPodHook is a hook implementation which runs a command in a new pod based on the specified container which is assumed to be part of the deployment template."
fn post.execNewPod.withCommand
withCommand(command)
"Command is the action command and its arguments."
fn post.execNewPod.withCommandMixin
withCommandMixin(command)
"Command is the action command and its arguments."
Note: This function appends passed data to existing values
fn post.execNewPod.withContainerName
withContainerName(containerName)
"ContainerName is the name of a container in the deployment pod template whose container image will be used for the hook pod's container."
fn post.execNewPod.withEnv
withEnv(env)
"Env is a set of environment variables to supply to the hook pod's container."
fn post.execNewPod.withEnvMixin
withEnvMixin(env)
"Env is a set of environment variables to supply to the hook pod's container."
Note: This function appends passed data to existing values
fn post.execNewPod.withVolumes
withVolumes(volumes)
"Volumes is a list of named volumes from the pod template which should be copied to the hook pod. Volumes names not found in pod spec are ignored. An empty list means no volumes will be copied."
fn post.execNewPod.withVolumesMixin
withVolumesMixin(volumes)
"Volumes is a list of named volumes from the pod template which should be copied to the hook pod. Volumes names not found in pod spec are ignored. An empty list means no volumes will be copied."
Note: This function appends passed data to existing values
obj pre
"LifecycleHook defines a specific deployment lifecycle action. Only one type of action may be specified at any time."
fn pre.withFailurePolicy
withFailurePolicy(failurePolicy)
"FailurePolicy specifies what action to take if the hook fails."
fn pre.withTagImages
withTagImages(tagImages)
"TagImages instructs the deployer to tag the current image referenced under a container onto an image stream tag."
fn pre.withTagImagesMixin
withTagImagesMixin(tagImages)
"TagImages instructs the deployer to tag the current image referenced under a container onto an image stream tag."
Note: This function appends passed data to existing values
obj pre.execNewPod
"ExecNewPodHook is a hook implementation which runs a command in a new pod based on the specified container which is assumed to be part of the deployment template."
fn pre.execNewPod.withCommand
withCommand(command)
"Command is the action command and its arguments."
fn pre.execNewPod.withCommandMixin
withCommandMixin(command)
"Command is the action command and its arguments."
Note: This function appends passed data to existing values
fn pre.execNewPod.withContainerName
withContainerName(containerName)
"ContainerName is the name of a container in the deployment pod template whose container image will be used for the hook pod's container."
fn pre.execNewPod.withEnv
withEnv(env)
"Env is a set of environment variables to supply to the hook pod's container."
fn pre.execNewPod.withEnvMixin
withEnvMixin(env)
"Env is a set of environment variables to supply to the hook pod's container."
Note: This function appends passed data to existing values
fn pre.execNewPod.withVolumes
withVolumes(volumes)
"Volumes is a list of named volumes from the pod template which should be copied to the hook pod. Volumes names not found in pod spec are ignored. An empty list means no volumes will be copied."
fn pre.execNewPod.withVolumesMixin
withVolumesMixin(volumes)
"Volumes is a list of named volumes from the pod template which should be copied to the hook pod. Volumes names not found in pod spec are ignored. An empty list means no volumes will be copied."
Note: This function appends passed data to existing values