Skip to content

Commit 661d04b

Browse files
author
Power Cloud Robot
authored
Merge pull request ppc64le-cloud#66 from kishen-v/use-crio-from-source
Use cri-o from source repository.
2 parents dec9867 + 16e730c commit 661d04b

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

group_vars/all

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ runc_version: 1.1.10
2020
# valid runtimes: containerd [default], crio.
2121
runtime: containerd
2222
containerd_version: 1.7.9
23+
crio_version: 1.28.1
2324
pause_container_image: registry.k8s.io/pause:3.9
2425

2526
cgroup_driver: systemd

install-k8s-perf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
- hosts: all
22
tasks:
33
- set_fact:
4-
prepull_images: "{{ prepull_images + ['registry.k8s.io/pause:3.1'] }}"
4+
prepull_images: "{{ prepull_images + ['registry.k8s.io/pause:3.9'] }}"
55

66
- name: Install Runtime and Kubernetes
77
hosts:

roles/runtime/tasks/crio.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
state: present
77
disable_gpg_check: true
88

9-
# TODO: Add support to generate a nix-build for ppc64le or add actions to generate a binary for cri-o
109
- name: Download CRI-O.
1110
unarchive:
12-
src: "https://github.com/ppc64le-cloud/crio/raw/main/crio-1.26.tar.gz"
11+
src: "https://github.com/cri-o/cri-o/releases/download/v{{ crio_version }}/cri-o.ppc64le.v{{ crio_version }}.tar.gz"
1312
dest: "/usr/local/bin/"
1413
remote_src: yes
14+
include: cri-o/bin
1515
extra_opts:
16-
- --strip-components=1
16+
- --strip-components=2
1717
retries: 3
1818
delay: 5
1919

0 commit comments

Comments
 (0)