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.
This commit is contained in:
Ricky Pai 2016-11-09 12:46:40 -08:00 committed by GitHub
parent 8b5264e095
commit 9c850044ae

View File

@ -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: