From 9c850044ae8a57d87dfc1a353b03b7d75d9acda4 Mon Sep 17 00:00:00 2001 From: Ricky Pai Date: Wed, 9 Nov 2016 12:46:40 -0800 Subject: [PATCH] Fix Docker Registry image version to 2.5.1 https://hub.docker.com/r/library/registry/tags/ `registry:2` is constantly being updated with new versions. This means there's a possibility that the image may be changed unintentionally. For example, when the Pod is rescheduled on nodes that does not already have the image, depending on the time of the pull, `registry:2` may result in different images. Fix this to the latest `registry:2.5.1` instead to avoid this problem. --- cluster/addons/registry/registry-rc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/addons/registry/registry-rc.yaml b/cluster/addons/registry/registry-rc.yaml index 31df8ad68d9..29942c4538f 100644 --- a/cluster/addons/registry/registry-rc.yaml +++ b/cluster/addons/registry/registry-rc.yaml @@ -21,7 +21,7 @@ spec: spec: containers: - name: registry - image: registry:2 + image: registry:2.5.1 resources: # keep request = limit to keep this container in guaranteed class limits: