From 34df90be819b7bba54621c5c274f10c1a0126739 Mon Sep 17 00:00:00 2001 From: Qiming Teng Date: Tue, 12 Sep 2017 14:20:07 +0800 Subject: [PATCH] Add link to AlwaysPullImages admission controller --- docs/concepts/containers/images.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/concepts/containers/images.md b/docs/concepts/containers/images.md index 1522af2f1f..6d06187dbb 100644 --- a/docs/concepts/containers/images.md +++ b/docs/concepts/containers/images.md @@ -19,10 +19,13 @@ The `image` property of a container supports the same syntax as the `docker` com ## Updating Images -The default pull policy is `IfNotPresent` which causes the Kubelet to not -pull an image if it already exists. If you would like to always force a pull -you must set a pull image policy of `Always` or specify a `:latest` tag on -your image. +The default pull policy is `IfNotPresent` which causes the Kubelet to skip +pulling an image if it already exists. If you would like to always force a pull, +you can do one of the following: + +- set the `imagePullPolicy` of the container to `Always`; +- use `:latest` as the tag for the image to use; +- enable the [AllwaysPullImages](/docs/admin/admission-controllers/#alwayspullimages) admission controller. If you did not specify tag of your image, it will be assumed as `:latest`, with pull image policy of `Always` correspondingly.