mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
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:
parent
8b5264e095
commit
9c850044ae
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user