File tree Expand file tree Collapse file tree 4 files changed +23
-10
lines changed Expand file tree Collapse file tree 4 files changed +23
-10
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,10 @@ kubeconfig_path: kubeconfig
16
16
##### Runtime Configurations #####
17
17
# cri-tools version
18
18
critools_version: v1.26.0
19
+ runc_version: 1.1.7
19
20
# valid runtimes: containerd [default], crio.
20
21
runtime: containerd
22
+ containerd_version: 1.7.2
21
23
pause_container_image: registry.k8s.io/pause:3.9
22
24
# Docker runtime is deprecated after k8s v1.20 - https://kubernetes.io/blog/2020/12/02/dont-panic-kubernetes-and-docker/
23
25
# This repo also supports installation with docker runtime as per the compatibility with k8s.
Original file line number Diff line number Diff line change 1
1
---
2
- - name : Install containerd
2
+ - name : Install containerd dependencies
3
3
yum :
4
4
name :
5
- - containerd
6
5
- device-mapper-persistent-data
7
6
- lvm2
8
7
state : present
9
8
disable_gpg_check : true
10
9
10
+ - name : Download and set up containerd.
11
+ unarchive :
12
+ src : " https://github.com/containerd/containerd/releases/download/v{{ containerd_version }}/containerd-{{ containerd_version }}-linux-ppc64le.tar.gz"
13
+ dest : " /usr/local"
14
+ remote_src : yes
15
+ retries : 3
16
+ delay : 5
17
+
18
+ - name : Create the containerd.service file on nodes.
19
+ get_url :
20
+ url : " https://raw.githubusercontent.com/containerd/containerd/main/containerd.service"
21
+ dest : /usr/lib/systemd/system/containerd.service
22
+ mode : ' 0755'
23
+
11
24
- name : Create a /etc/containerd dir
12
25
file :
13
26
path : /etc/containerd
Original file line number Diff line number Diff line change 3
3
yum :
4
4
name :
5
5
- conmon
6
- - runc
7
6
state : present
8
7
disable_gpg_check : true
9
8
Original file line number Diff line number Diff line change 52
52
dest : " /usr/local/bin/"
53
53
remote_src : yes
54
54
55
- - name : Add Public Docker repository
56
- yum_repository :
57
- name : public-docker
58
- description : Public Docker Repository
59
- baseurl : https://download.docker.com/linux/centos/8/ppc64le/stable/
60
- gpgcheck : no
61
-
62
55
- name : Install iptables
63
56
yum :
64
57
name : iptables
65
58
59
+ - name : Install container runtime - runc
60
+ get_url :
61
+ url : " https://github.com/opencontainers/runc/releases/download/v{{ runc_version }}/runc.ppc64le"
62
+ dest : /usr/bin/runc
63
+ mode : ' 0755'
64
+
66
65
- name : Install and Configure Runtime - Docker
67
66
import_tasks : docker.yaml
68
67
when : runtime == "docker"
You can’t perform that action at this time.
0 commit comments