Skip to content

Commit

Permalink
[2.17] Fix containerd failed to start if apparmor is not installed (#…
Browse files Browse the repository at this point in the history
…8042)

* Ensure apparmor is installed (#8011)

Kubespray deployment failed when using containerd backend on nodes that apparmor was not installed or previously removed. This PR ensure apparmor is installed by adding it into required_pkgs var.

(cherry picked from commit 4bace24)

* Ensure apparmor is installed (#8036)

Kubespray deployment failed when using containerd backend on nodes that apparmor was not installed or previously removed. This PR ensure apparmor is installed by adding it into required_pkgs var.

(cherry picked from commit af04906)

Co-authored-by: rtsp <git@rtsp.us>
  • Loading branch information
sathieu and rtsp authored Oct 1, 2021
1 parent 45018ac commit 87fee0c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions roles/kubernetes/preinstall/vars/debian-11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ required_pkgs:
- software-properties-common
- conntrack
- iptables
- apparmor
1 change: 1 addition & 0 deletions roles/kubernetes/preinstall/vars/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ required_pkgs:
- apt-transport-https
- software-properties-common
- conntrack
- apparmor
1 change: 1 addition & 0 deletions roles/kubernetes/preinstall/vars/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ required_pkgs:
- apt-transport-https
- software-properties-common
- conntrack
- apparmor

0 comments on commit 87fee0c

Please sign in to comment.