Skip to content

Commit

Permalink
Upgrade containerd v1.6 (#1447)
Browse files Browse the repository at this point in the history
Signed-off-by: Artiom Diomin <[email protected]>

Signed-off-by: Artiom Diomin <[email protected]>
Co-authored-by: Artiom Diomin <[email protected]>
  • Loading branch information
kubermatic-bot and kron4eg authored Sep 28, 2022
1 parent 12b75bf commit 91c8e2d
Show file tree
Hide file tree
Showing 45 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion pkg/containerruntime/containerd.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (

const (
LegacyContainerdVersion = "1.4"
DefaultContainerdVersion = "1.5"
DefaultContainerdVersion = "1.6"
)

type Containerd struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/containerruntime/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (

const (
LegacyDockerContainerdVersion = "1.4"
DefaultDockerContainerdVersion = "1.5"
DefaultDockerContainerdVersion = "1.6"
DefaultDockerVersion = "20.10"
LegacyDockerVersion = "19.03"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/centos/testdata/kubelet-v1.22-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/centos/testdata/kubelet-v1.23-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/centos/testdata/kubelet-v1.23-nutanix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/centos/testdata/kubelet-v1.23-vsphere.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/centos/testdata/kubelet-v1.24-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ write_files:
EnvironmentFile=-/etc/environment
EOF
yum install -y containerd.io-1.5* yum-plugin-versionlock
yum install -y containerd.io-1.6* yum-plugin-versionlock
yum versionlock add containerd.io
systemctl daemon-reload
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/rhel/testdata/kubelet-v1.22-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/rhel/testdata/kubelet-v1.22-nutanix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/rhel/testdata/kubelet-v1.23-aws-external.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/rhel/testdata/kubelet-v1.23-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/rhel/testdata/kubelet-v1.23-vsphere.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/rhel/testdata/kubelet-v1.24-aws-external.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ write_files:
EnvironmentFile=-/etc/environment
EOF
yum install -y containerd.io-1.5* yum-plugin-versionlock
yum install -y containerd.io-1.6* yum-plugin-versionlock
yum versionlock add containerd.io
systemctl daemon-reload
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/rhel/testdata/kubelet-v1.24-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ write_files:
EnvironmentFile=-/etc/environment
EOF
yum install -y containerd.io-1.5* yum-plugin-versionlock
yum install -y containerd.io-1.6* yum-plugin-versionlock
yum versionlock add containerd.io
systemctl daemon-reload
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/rhel/testdata/pod-cidr-azure-rhel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/rockylinux/testdata/kubelet-v1.22-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/rockylinux/testdata/kubelet-v1.23-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ write_files:
yum install -y \
docker-ce-cli-20.10* \
containerd.io-1.5* \
containerd.io-1.6* \
docker-ce-20.10* \
yum-plugin-versionlock
yum versionlock add docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/rockylinux/testdata/kubelet-v1.24-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ write_files:
EnvironmentFile=-/etc/environment
EOF
yum install -y containerd.io-1.5* yum-plugin-versionlock
yum install -y containerd.io-1.6* yum-plugin-versionlock
yum versionlock add containerd.io
systemctl daemon-reload
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/ubuntu/testdata/containerd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ write_files:
EnvironmentFile=-/etc/environment
EOF
apt-get install -y --allow-downgrades containerd.io=1.5*
apt-get install -y --allow-downgrades containerd.io=1.6*
apt-mark hold containerd.io
systemctl daemon-reload
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/ubuntu/testdata/digitalocean-dualstack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ write_files:
EOF
apt-get install --allow-downgrades -y \
containerd.io=1.5* \
containerd.io=1.6* \
docker-ce-cli=5:20.10* \
docker-ce=5:20.10*
apt-mark hold docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/ubuntu/testdata/dist-upgrade-on-boot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ write_files:
EOF
apt-get install --allow-downgrades -y \
containerd.io=1.5* \
containerd.io=1.6* \
docker-ce-cli=5:20.10* \
docker-ce=5:20.10*
apt-mark hold docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/ubuntu/testdata/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ write_files:
EOF
apt-get install --allow-downgrades -y \
containerd.io=1.5* \
containerd.io=1.6* \
docker-ce-cli=5:20.10* \
docker-ce=5:20.10*
apt-mark hold docker-ce* containerd.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ write_files:
EOF
apt-get install --allow-downgrades -y \
containerd.io=1.5* \
containerd.io=1.6* \
docker-ce-cli=5:20.10* \
docker-ce=5:20.10*
apt-mark hold docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/ubuntu/testdata/multiple-dns-servers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ write_files:
EOF
apt-get install --allow-downgrades -y \
containerd.io=1.5* \
containerd.io=1.6* \
docker-ce-cli=5:20.10* \
docker-ce=5:20.10*
apt-mark hold docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/ubuntu/testdata/multiple-ssh-keys.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ write_files:
EOF
apt-get install --allow-downgrades -y \
containerd.io=1.5* \
containerd.io=1.6* \
docker-ce-cli=5:20.10* \
docker-ce=5:20.10*
apt-mark hold docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/ubuntu/testdata/nutanix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ write_files:
EOF
apt-get install --allow-downgrades -y \
containerd.io=1.5* \
containerd.io=1.6* \
docker-ce-cli=5:20.10* \
docker-ce=5:20.10*
apt-mark hold docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/ubuntu/testdata/openstack-dualstack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ write_files:
EOF
apt-get install --allow-downgrades -y \
containerd.io=1.5* \
containerd.io=1.6* \
docker-ce-cli=5:20.10* \
docker-ce=5:20.10*
apt-mark hold docker-ce* containerd.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ write_files:
EOF
apt-get install --allow-downgrades -y \
containerd.io=1.5* \
containerd.io=1.6* \
docker-ce-cli=5:20.10* \
docker-ce=5:20.10*
apt-mark hold docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/ubuntu/testdata/openstack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ write_files:
EOF
apt-get install --allow-downgrades -y \
containerd.io=1.5* \
containerd.io=1.6* \
docker-ce-cli=5:20.10* \
docker-ce=5:20.10*
apt-mark hold docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/ubuntu/testdata/version-1.22.7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ write_files:
EOF
apt-get install --allow-downgrades -y \
containerd.io=1.5* \
containerd.io=1.6* \
docker-ce-cli=5:20.10* \
docker-ce=5:20.10*
apt-mark hold docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/ubuntu/testdata/version-1.23.5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ write_files:
EOF
apt-get install --allow-downgrades -y \
containerd.io=1.5* \
containerd.io=1.6* \
docker-ce-cli=5:20.10* \
docker-ce=5:20.10*
apt-mark hold docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/ubuntu/testdata/version-1.24.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ write_files:
EnvironmentFile=-/etc/environment
EOF
apt-get install -y --allow-downgrades containerd.io=1.5*
apt-get install -y --allow-downgrades containerd.io=1.6*
apt-mark hold containerd.io
systemctl daemon-reload
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/ubuntu/testdata/vsphere-mirrors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ write_files:
EOF
apt-get install --allow-downgrades -y \
containerd.io=1.5* \
containerd.io=1.6* \
docker-ce-cli=5:20.10* \
docker-ce=5:20.10*
apt-mark hold docker-ce* containerd.io
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/ubuntu/testdata/vsphere-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ write_files:
EOF
apt-get install --allow-downgrades -y \
containerd.io=1.5* \
containerd.io=1.6* \
docker-ce-cli=5:20.10* \
docker-ce=5:20.10*
apt-mark hold docker-ce* containerd.io
Expand Down
Loading

0 comments on commit 91c8e2d

Please sign in to comment.