Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit 796cae7

Browse files
authored
Merge pull request #700 from Random-Liu/update-pause-image
Use pause image from new source.
2 parents 356a41c + f0655ec commit 796cae7

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

contrib/ansible/cri-containerd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@
5656
# TODO This needs to be removed once we have consistent concurrent pull results
5757
- name: "Pre-pull pause container image"
5858
shell: |
59-
/usr/local/bin/ctr pull gcr.io/google_containers/pause:3.1
59+
/usr/local/bin/ctr pull k8s.gcr.io/pause:3.1
6060
/usr/local/bin/crictl --runtime-endpoint /run/containerd/containerd.sock \
61-
pull gcr.io/google_containers/pause:3.1
61+
pull k8s.gcr.io/pause:3.1

docs/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The explanation and default value of each configuration item are as follows:
1616
enable_selinux = false
1717

1818
# sandbox_image is the image used by sandbox container.
19-
sandbox_image = "gcr.io/google_containers/pause:3.1"
19+
sandbox_image = "k8s.gcr.io/pause:3.1"
2020

2121
# stats_collect_period is the period (in seconds) of snapshots stats collection.
2222
stats_collect_period = 10

docs/crictl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ $ crictl info
185185
}
186186
},
187187
"streamServerPort": "10010",
188-
"sandboxImage": "gcr.io/google_containers/pause:3.0",
188+
"sandboxImage": "k8s.gcr.io/pause:3.1",
189189
"statsCollectPeriod": 10,
190190
"containerdRootDir": "/var/lib/containerd",
191191
"containerdEndpoint": "/run/containerd/containerd.sock",

integration/test_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import (
3939

4040
const (
4141
timeout = 1 * time.Minute
42-
pauseImage = "gcr.io/google_containers/pause:3.1" // This is the same with default sandbox image.
42+
pauseImage = "k8s.gcr.io/pause:3.1" // This is the same with default sandbox image.
4343
k8sNamespace = constants.K8sContainerdNamespace
4444
containerdEndpoint = "/run/containerd/containerd.sock"
4545
)

pkg/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func DefaultConfig() PluginConfig {
118118
StreamServerAddress: "",
119119
StreamServerPort: "10010",
120120
EnableSelinux: false,
121-
SandboxImage: "gcr.io/google_containers/pause:3.1",
121+
SandboxImage: "k8s.gcr.io/pause:3.1",
122122
StatsCollectPeriod: 10,
123123
SystemdCgroup: false,
124124
Registry: Registry{

0 commit comments

Comments
 (0)