aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/tg_sut
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/tg_sut')
-rw-r--r--resources/tools/testbed-setup/ansible/roles/tg_sut/tasks/ubuntu_x86_64.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/tg_sut/tasks/ubuntu_x86_64.yaml b/resources/tools/testbed-setup/ansible/roles/tg_sut/tasks/ubuntu_x86_64.yaml
index b416f9f7de..76af5be7fd 100644
--- a/resources/tools/testbed-setup/ansible/roles/tg_sut/tasks/ubuntu_x86_64.yaml
+++ b/resources/tools/testbed-setup/ansible/roles/tg_sut/tasks/ubuntu_x86_64.yaml
@@ -157,6 +157,7 @@
apt:
name: "kubeadm={{ kubernetes_apt_package_name }}"
state: "present"
+ force: yes
update_cache: True
install_recommends: False
cache_valid_time: "{{ apt_cache_time }}"
@@ -166,6 +167,7 @@
apt:
name: "kubectl={{ kubernetes_apt_package_name }}"
state: "present"
+ force: yes
update_cache: True
install_recommends: False
cache_valid_time: "{{ apt_cache_time }}"
@@ -175,8 +177,16 @@
apt:
name: "kubelet={{ kubernetes_apt_package_name }}"
state: "present"
+ force: yes
update_cache: True
install_recommends: False
cache_valid_time: "{{ apt_cache_time }}"
tags: install-kubernetes
+- name: Apply kubelet parameter
+ lineinfile:
+ path: '/etc/default/kubelet'
+ state: 'present'
+ regexp: '^KUBELET_EXTRA_ARGS=*'
+ line: 'KUBELET_EXTRA_ARGS=--feature-gates HugePages=false'
+ tags: install-kubernetes