update pause image to 3.10
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
This commit is contained in:
@@ -153,7 +153,7 @@ version = 2
|
||||
selinux_category_range = 1024
|
||||
|
||||
# sandbox_image is the image used by sandbox container.
|
||||
sandbox_image = "registry.k8s.io/pause:3.9"
|
||||
sandbox_image = "registry.k8s.io/pause:3.10"
|
||||
|
||||
# stats_collect_period is the period (in seconds) of snapshots stats collection.
|
||||
stats_collect_period = 10
|
||||
|
||||
@@ -59,29 +59,29 @@ command. With the load command you inject a container image into the container
|
||||
runtime from a file. First you need to create a container image tarball. For
|
||||
example to create an image tarball for a pause container using Docker:
|
||||
```console
|
||||
$ docker pull registry.k8s.io/pause:3.9
|
||||
3.9: Pulling from pause
|
||||
$ docker pull registry.k8s.io/pause:3.10
|
||||
3.10: Pulling from pause
|
||||
7582c2cc65ef: Pull complete
|
||||
Digest: sha256:7031c1b283388d2c2e09b57badb803c05ebed362dc88d84b480cc47f72a21097
|
||||
Status: Downloaded newer image for registry.k8s.io/pause:3.9
|
||||
registry.k8s.io/pause:3.9
|
||||
$ docker save registry.k8s.io/pause:3.9 -o pause.tar
|
||||
Digest: sha256:ee6521f290b2168b6e0935a181d4cff9be1ac3f505666ef0e3c98fae8199917a
|
||||
Status: Downloaded newer image for registry.k8s.io/pause:3.10
|
||||
registry.k8s.io/pause:3.10
|
||||
$ docker save registry.k8s.io/pause:3.10 -o pause.tar
|
||||
```
|
||||
Then use `ctr` to load the container image into the container runtime:
|
||||
```console
|
||||
# The cri plugin uses the "k8s.io" containerd namespace.
|
||||
$ sudo ctr -n=k8s.io images import pause.tar
|
||||
Loaded image: registry.k8s.io/pause:3.9
|
||||
Loaded image: registry.k8s.io/pause:3.10
|
||||
```
|
||||
List images and inspect the pause image:
|
||||
```console
|
||||
$ sudo crictl images
|
||||
IMAGE TAG IMAGE ID SIZE
|
||||
docker.io/library/busybox latest f6e427c148a76 728kB
|
||||
registry.k8s.io/pause 3.9 e6f181688397 311kB
|
||||
$ sudo crictl inspecti e6f181688397
|
||||
registry.k8s.io/pause 3.10 873ed75102791 311kB
|
||||
$ sudo crictl inspecti 873ed75102791
|
||||
... displays information about the pause image.
|
||||
$ sudo crictl inspecti registry.k8s.io/pause:3.9
|
||||
$ sudo crictl inspecti registry.k8s.io/pause:3.10
|
||||
... displays information about the pause image.
|
||||
```
|
||||
|
||||
@@ -290,7 +290,7 @@ $ crictl info
|
||||
"streamIdleTimeout": "4h0m0s",
|
||||
"enableSelinux": false,
|
||||
"selinuxCategoryRange": 1024,
|
||||
"sandboxImage": "registry.k8s.io/pause:3.9",
|
||||
"sandboxImage": "registry.k8s.io/pause:3.10",
|
||||
"statsCollectPeriod": 10,
|
||||
"systemdCgroup": false,
|
||||
"enableTLSStreaming": false,
|
||||
|
||||
Reference in New Issue
Block a user