|
35 | 35 | 'container_runtime' => 'docker', |
36 | 36 | 'kubernetes_package_version' => '1.10.2', |
37 | 37 | 'docker_version' => '17.03.1.ce-1.el7.centos', |
38 | | - 'containerd_version' => '1.1.0', |
| 38 | + 'containerd_version' => '1.5.0', |
39 | 39 | 'containerd_install_method' => 'archive', |
40 | 40 | 'containerd_package_name' => 'containerd.io', |
41 | | - 'containerd_archive' =>'containerd-1.1.0.linux-amd64.tar.gz', |
42 | | - 'containerd_source' => 'https://github.com/containerd-1.1.0.linux-amd64.tar.gz', |
| 41 | + 'containerd_archive' =>'containerd-1.4.3-linux-amd64.tar.gz', |
| 42 | + 'containerd_source' => 'https://github.com/containerd/containerd/releases/download/v1.4.3/containerd-1.4.3-linux-amd64.tar.gz', |
43 | 43 | 'etcd_archive' => 'etcd-v3.1.12-linux-amd64.tar.gz', |
44 | 44 | 'etcd_source' => 'https://github.com/etcd-v3.1.12.tar.gz', |
45 | 45 | 'runc_source' => 'https://github.com/runcsource', |
|
124 | 124 | 'container_runtime' => 'docker', |
125 | 125 | 'kubernetes_package_version' => '1.10.2', |
126 | 126 | 'docker_version' => '17.03.1.ce-1.el7.centos', |
127 | | - 'containerd_version' => '1.1.0', |
| 127 | + 'containerd_version' => '1.4.3', |
128 | 128 | 'containerd_install_method' => 'archive', |
129 | 129 | 'containerd_package_name' => 'containerd.io', |
130 | | - 'containerd_archive' =>'containerd-1.1.0.linux-amd64.tar.gz', |
131 | | - 'containerd_source' => 'https://github.com/containerd-1.1.0.linux-amd64.tar.gz', |
| 130 | + 'containerd_archive' =>'containerd-1.4.3-linux-amd64.tar.gz', |
| 131 | + 'containerd_source' => 'https://github.com/containerd/containerd/releases/download/v1.4.3/containerd-1.4.3-linux-amd64.tar.gz', |
132 | 132 | 'etcd_archive' => 'etcd-v3.1.12-linux-amd64.tar.gz', |
133 | 133 | 'etcd_source' => 'https://github.com/etcd-v3.1.12.tar.gz', |
134 | 134 | 'runc_source' => 'https://github.com/runcsource', |
|
212 | 212 | 'container_runtime' => 'cri_containerd', |
213 | 213 | 'kubernetes_package_version' => '1.10.2', |
214 | 214 | 'docker_version' => '17.03.1.ce-1.el7.centos', |
215 | | - 'containerd_version' => '1.1.0', |
| 215 | + 'containerd_version' => '1.4.3', |
216 | 216 | 'containerd_install_method' => 'package', |
217 | 217 | 'containerd_package_name' => 'containerd.io', |
218 | | - 'containerd_archive' =>'containerd-1.1.0.linux-amd64.tar.gz', |
219 | | - 'containerd_source' => 'https://github.com/containerd-1.1.0.linux-amd64.tar.gz', |
| 218 | + 'containerd_archive' =>'https://github.com/containerd/containerd/releases/download/v1.4.3/containerd-1.4.3-linux-amd64.tar.gz', |
| 219 | + 'containerd_source' => 'containerd-1.4.3-linux-amd64.tar.gz', |
220 | 220 | 'etcd_archive' => 'etcd-v3.1.12-linux-amd64.tar.gz', |
221 | 221 | 'etcd_source' => 'https://github.com/etcd-v3.1.12.tar.gz', |
222 | 222 | 'runc_source' => 'https://github.com/runcsource', |
|
249 | 249 | it { should contain_kmod__load('br_netfilter')} |
250 | 250 | it { should contain_sysctl('net.bridge.bridge-nf-call-iptables').with_ensure('present').with_value('1')} |
251 | 251 | it { should contain_sysctl('net.ipv4.ip_forward').with_ensure('present').with_value('1')} |
252 | | - it { should contain_package('containerd.io').with_ensure('1.1.0')} |
| 252 | + it { should contain_package('containerd.io').with_ensure('1.4.3')} |
253 | 253 | it { should contain_archive('etcd-v3.1.12-linux-amd64.tar.gz')} |
254 | 254 | it { should contain_package('kubelet').with_ensure('1.10.2')} |
255 | 255 | it { should contain_package('kubectl').with_ensure('1.10.2')} |
|
289 | 289 | 'container_runtime' => 'cri_containerd', |
290 | 290 | 'kubernetes_package_version' => '1.10.2-00', |
291 | 291 | 'docker_version' => '17.03.0~ce-0~ubuntu-xenial', |
292 | | - 'containerd_version' => '1.1.0', |
| 292 | + 'containerd_version' => '1.4.3', |
293 | 293 | 'containerd_install_method' => 'archive', |
294 | 294 | 'containerd_package_name' => 'containerd.io', |
295 | | - 'containerd_archive' =>'containerd-1.1.0.linux-amd64.tar.gz', |
296 | | - 'containerd_source' => 'https://github.com/containerd-1.1.0.linux-amd64.tar.gz', |
| 295 | + 'containerd_archive' =>'containerd-1.4.3-linux-amd64.tar.gz', |
| 296 | + 'containerd_source' => 'https://github.com/containerd/containerd/releases/download/v1.4.3/containerd-1.4.3-linux-amd64.tar.gz', |
297 | 297 | 'etcd_archive' => 'etcd-v3.1.12-linux-amd64.tar.gz', |
298 | 298 | 'etcd_source' => 'https://github.com/etcd-v3.1.12.tar.gz', |
299 | 299 | 'runc_source' => 'https://github.com/runcsource', |
|
328 | 328 | it { should contain_sysctl('net.ipv4.ip_forward').with_ensure('present').with_value('1')} |
329 | 329 | it { should contain_archive('/usr/bin/runc')} |
330 | 330 | it { should contain_file('/usr/bin/runc')} |
331 | | - it { should contain_archive('containerd-1.1.0.linux-amd64.tar.gz')} |
| 331 | + it { should contain_archive('containerd-1.4.3-linux-amd64.tar.gz')} |
332 | 332 | it { should_not contain_archive('etcd-v3.1.12-linux-amd64.tar.gz')} |
333 | 333 | it { should contain_package('kubelet').with_ensure('1.10.2-00')} |
334 | 334 | it { should contain_package('kubectl').with_ensure('1.10.2-00')} |
|
377 | 377 | 'container_runtime' => 'docker', |
378 | 378 | 'kubernetes_package_version' => '1.10.2', |
379 | 379 | 'docker_version' => '17.03.0~ce-0~ubuntu-xenial', |
380 | | - 'containerd_version' => '1.1.0', |
| 380 | + 'containerd_version' => '1.4.3', |
381 | 381 | 'containerd_install_method' => 'archive', |
382 | 382 | 'containerd_package_name' => 'containerd.io', |
383 | | - 'containerd_archive' =>'containerd-1.1.0.linux-amd64.tar.gz', |
384 | | - 'containerd_source' => 'https://github.com/containerd-1.1.0.linux-amd64.tar.gz', |
| 383 | + 'containerd_archive' =>'containerd-1.4.3-linux-amd64.tar.gz', |
| 384 | + 'containerd_source' => 'https://github.com/containerd/containerd/releases/download/v1.4.3/containerd-1.4.3-linux-amd64.tar.gz', |
385 | 385 | 'etcd_archive' => 'etcd-v3.1.12-linux-amd64.tar.gz', |
386 | 386 | 'etcd_source' => 'https://github.com/etcd-v3.1.12.tar.gz', |
387 | 387 | 'runc_source' => 'https://github.com/runcsource', |
|
465 | 465 | 'container_runtime' => 'docker', |
466 | 466 | 'kubernetes_package_version' => '1.10.2', |
467 | 467 | 'docker_version' => '17.03.0~ce-0~ubuntu-xenial', |
468 | | - 'containerd_version' => '1.1.0', |
| 468 | + 'containerd_version' => '1.4.3', |
469 | 469 | 'containerd_install_method' => 'archive', |
470 | 470 | 'containerd_package_name' => 'containerd.io', |
471 | | - 'containerd_archive' =>'containerd-1.1.0.linux-amd64.tar.gz', |
472 | | - 'containerd_source' => 'https://github.com/containerd-1.1.0.linux-amd64.tar.gz', |
| 471 | + 'containerd_archive' =>'containerd-1.4.3-linux-amd64.tar.gz', |
| 472 | + 'containerd_source' => 'https://github.com/containerd/containerd/releases/download/v1.4.3/containerd-1.4.3-linux-amd64.tar.gz', |
473 | 473 | 'etcd_archive' => 'etcd-v3.1.12-linux-amd64.tar.gz', |
474 | 474 | 'etcd_source' => 'https://github.com/etcd-v3.1.12.tar.gz', |
475 | 475 | 'runc_source' => 'https://github.com/runcsource', |
|
549 | 549 | 'container_runtime' => 'cri_containerd', |
550 | 550 | 'kubernetes_package_version' => '1.10.2', |
551 | 551 | 'docker_version' => '17.03.0~ce-0~ubuntu-xenial', |
552 | | - 'containerd_version' => '1.1.0', |
| 552 | + 'containerd_version' => '1.4.3', |
553 | 553 | 'containerd_install_method' => 'package', |
554 | 554 | 'containerd_package_name' => 'containerd.io', |
555 | | - 'containerd_archive' =>'containerd-1.1.0.linux-amd64.tar.gz', |
556 | | - 'containerd_source' => 'https://github.com/containerd-1.1.0.linux-amd64.tar.gz', |
| 555 | + 'containerd_archive' =>'containerd-1.4.3-linux-amd64.tar.gz', |
| 556 | + 'containerd_source' => 'https://github.com/containerd/containerd/releases/download/v1.4.3/containerd-1.4.3-linux-amd64.tar.gz', |
557 | 557 | 'etcd_archive' => 'etcd-v3.1.12-linux-amd64.tar.gz', |
558 | 558 | 'etcd_source' => 'https://github.com/etcd-v3.1.12.tar.gz', |
559 | 559 | 'runc_source' => 'https://github.com/runcsource', |
|
590 | 590 | it { should contain_package('kubelet').with_ensure('1.10.2')} |
591 | 591 | it { should contain_package('kubectl').with_ensure('1.10.2')} |
592 | 592 | it { should contain_package('kubeadm').with_ensure('1.10.2')} |
593 | | - it { should contain_package('containerd.io').with_ensure('1.1.0')} |
| 593 | + it { should contain_package('containerd.io').with_ensure('1.4.3')} |
594 | 594 | it { should contain_file('/etc/containerd')} |
595 | 595 | it { should contain_file('/etc/containerd/config.toml')} |
596 | 596 | it { should contain_file('/etc/apt/preferences.d/containerd')} |
|
626 | 626 | 'container_runtime' => 'cri_containerd', |
627 | 627 | 'kubernetes_package_version' => '1.10.2-00', |
628 | 628 | 'docker_version' => '17.03.0~ce-0~ubuntu-xenial', |
629 | | - 'containerd_version' => '1.1.0', |
| 629 | + 'containerd_version' => '1.4.3', |
630 | 630 | 'containerd_install_method' => 'archive', |
631 | 631 | 'containerd_package_name' => 'containerd.io', |
632 | | - 'containerd_archive' =>'containerd-1.1.0.linux-amd64.tar.gz', |
633 | | - 'containerd_source' => 'https://github.com/containerd-1.1.0.linux-amd64.tar.gz', |
| 632 | + 'containerd_archive' =>'containerd-1.4.3-linux-amd64.tar.gz', |
| 633 | + 'containerd_source' => 'https://github.com/containerd/containerd/releases/download/v1.4.3/containerd-1.4.3-linux-amd64.tar.gz', |
634 | 634 | 'etcd_archive' => 'etcd-v3.1.12-linux-amd64.tar.gz', |
635 | 635 | 'etcd_source' => 'https://github.com/etcd-v3.1.12.tar.gz', |
636 | 636 | 'runc_source' => 'https://github.com/runcsource', |
|
0 commit comments