Skip to content

Commit c9ed984

Browse files
committed
move to v3.2 for the pause image
Signed-off-by: Mike Brown <[email protected]>
1 parent 55566f9 commit c9ed984

5 files changed

Lines changed: 19 additions & 19 deletions

File tree

contrib/ansible/cri-containerd.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
- hosts: all
2+
- hosts: all
33
become: true
44
tasks:
55
- include_vars: vars/vars.yaml # Contains tasks variables for installer
6-
- include_tasks: tasks/bootstrap_ubuntu.yaml # Contains tasks bootstrap components for ubuntu systems
6+
- include_tasks: tasks/bootstrap_ubuntu.yaml # Contains tasks bootstrap components for ubuntu systems
77
when: ansible_distribution == "Ubuntu"
88
- include_tasks: tasks/bootstrap_centos.yaml # Contains tasks bootstrap components for centos systems
99
when: ansible_distribution == "CentOS"
@@ -21,12 +21,12 @@
2121
name: br_netfilter
2222
state: present
2323

24-
- name: "Set bridge-nf-call-iptables"
24+
- name: "Set bridge-nf-call-iptables"
2525
sysctl:
2626
name: net.bridge.bridge-nf-call-iptables
2727
value: 1
2828

29-
- name: "Set ip_forward"
29+
- name: "Set ip_forward"
3030
sysctl:
3131
name: net.ipv4.ip_forward
3232
value: 1
@@ -41,13 +41,13 @@
4141
line: "Environment=\"KUBELET_EXTRA_ARGS= --runtime-cgroups=/system.slice/containerd.service --container-runtime=remote --runtime-request-timeout=15m --container-runtime-endpoint=unix:///run/containerd/containerd.sock\""
4242
insertafter: '\[Service\]'
4343
when: check_args.stdout == ""
44-
44+
4545
- name: "Start Kubelet"
4646
systemd: name=kubelet daemon_reload=yes state=started enabled=yes
47-
47+
4848
# TODO This needs to be removed once we have consistent concurrent pull results
4949
- name: "Pre-pull pause container image"
5050
shell: |
51-
/usr/local/bin/ctr pull k8s.gcr.io/pause:3.1
51+
/usr/local/bin/ctr pull k8s.gcr.io/pause:3.2
5252
/usr/local/bin/crictl --runtime-endpoint unix:///run/containerd/containerd.sock \
53-
pull k8s.gcr.io/pause:3.1
53+
pull k8s.gcr.io/pause:3.2

docs/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ version = 2
3535
enable_selinux = false
3636

3737
# sandbox_image is the image used by sandbox container.
38-
sandbox_image = "k8s.gcr.io/pause:3.1"
38+
sandbox_image = "k8s.gcr.io/pause:3.2"
3939

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

docs/crictl.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,29 +44,29 @@ command. With the load command you inject a container image into the container
4444
runtime from a file. First you need to create a container image tarball. For
4545
example to create an image tarball for a pause container using Docker:
4646
```console
47-
$ docker pull k8s.gcr.io/pause-amd64:3.1
48-
3.1: Pulling from pause-amd64
47+
$ docker pull k8s.gcr.io/pause-amd64:3.2
48+
3.2: Pulling from pause-amd64
4949
67ddbfb20a22: Pull complete
5050
Digest: sha256:59eec8837a4d942cc19a52b8c09ea75121acc38114a2c68b98983ce9356b8610
51-
Status: Downloaded newer image for k8s.gcr.io/pause-amd64:3.1
52-
$ docker save k8s.gcr.io/pause-amd64:3.1 -o pause.tar
51+
Status: Downloaded newer image for k8s.gcr.io/pause-amd64:3.2
52+
$ docker save k8s.gcr.io/pause-amd64:3.2 -o pause.tar
5353
```
5454
Then use [`ctr`](https://github.com/containerd/containerd/blob/master/docs/man/ctr.1.md)
5555
to load the container image into the container runtime:
5656
```console
5757
# The cri plugin uses the "k8s.io" containerd namespace.
5858
$ sudo ctr -n=k8s.io images import pause.tar
59-
Loaded image: k8s.gcr.io/pause-amd64:3.1
59+
Loaded image: k8s.gcr.io/pause-amd64:3.2
6060
```
6161
List images and inspect the pause image:
6262
```console
6363
$ sudo crictl images
6464
IMAGE TAG IMAGE ID SIZE
6565
docker.io/library/busybox latest f6e427c148a76 728kB
66-
k8s.gcr.io/pause-amd64 3.1 da86e6ba6ca19 746kB
66+
k8s.gcr.io/pause-amd64 3.2 da86e6ba6ca19 746kB
6767
$ sudo crictl inspecti da86e6ba6ca19
6868
... displays information about the pause image.
69-
$ sudo crictl inspecti k8s.gcr.io/pause-amd64:3.1
69+
$ sudo crictl inspecti k8s.gcr.io/pause-amd64:3.2
7070
... displays information about the pause image.
7171
```
7272

@@ -186,7 +186,7 @@ $ crictl info
186186
}
187187
},
188188
"streamServerPort": "10010",
189-
"sandboxImage": "k8s.gcr.io/pause:3.1",
189+
"sandboxImage": "k8s.gcr.io/pause:3.2",
190190
"statsCollectPeriod": 10,
191191
"containerdRootDir": "/var/lib/containerd",
192192
"containerdEndpoint": "unix:///run/containerd/containerd.sock",

integration/main_test.go

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

4949
const (
5050
timeout = 1 * time.Minute
51-
pauseImage = "k8s.gcr.io/pause:3.1" // This is the same with default sandbox image.
51+
pauseImage = "k8s.gcr.io/pause:3.2" // This is the same with default sandbox image.
5252
k8sNamespace = constants.K8sContainerdNamespace
5353
)
5454

pkg/config/config_unix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func DefaultConfig() PluginConfig {
5252
TLSKeyFile: "",
5353
TLSCertFile: "",
5454
},
55-
SandboxImage: "k8s.gcr.io/pause:3.1",
55+
SandboxImage: "k8s.gcr.io/pause:3.2",
5656
StatsCollectPeriod: 10,
5757
SystemdCgroup: false,
5858
MaxContainerLogLineSize: 16 * 1024,

0 commit comments

Comments
 (0)