Merge pull request #24645 from jlowdermilk/rolling-update

Automatic merge from submit-queue

kubectl rolling-update support for same image

Fixes #23497.

Enables `kubectl rolling-update --image` to the same image, adding a `--image-pull-policy` flag to remove ambiguity. This allows rolling-update to behave as an "update and/or restart" (https://github.com/kubernetes/kubernetes/issues/23497#issuecomment-212349730), or as a forced update when the same tag can mean multiple versions (e.g. `:latest`). cc @janetkuo @nikhiljindal
This commit is contained in:
k8s-merge-robot
2016-05-04 07:24:22 -07:00
10 changed files with 103 additions and 23 deletions

View File

@@ -167,6 +167,7 @@ ignore-daemonsets
ignore-not-found
image-gc-high-threshold
image-gc-low-threshold
image-pull-policy
include-extended-apis
input-base
input-dirs