Code Review
/
iec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 2:
9c3382a
)
Merge "ci/labs: Add baremetal1 PDF/IDF config files"
author
Ciprian Barbu
<ciprian.barbu@enea.com>
Tue, 7 Apr 2020 11:25:15 +0000
(11:25 +0000)
committer
Gerrit Code Review
<gerrit@akraino.org>
Tue, 7 Apr 2020 11:25:15 +0000
(11:25 +0000)
src/foundation/scripts/k8s_common.sh
patch
|
blob
|
history
diff --git
a/src/foundation/scripts/k8s_common.sh
b/src/foundation/scripts/k8s_common.sh
index
735c307
..
76092fd
100755
(executable)
--- a/
src/foundation/scripts/k8s_common.sh
+++ b/
src/foundation/scripts/k8s_common.sh
@@
-101,4
+101,6
@@
sudo systemctl restart docker kubelet
sudo modprobe br_netfilter
_conf='/etc/sysctl.d/99-akraino-iec.conf'
echo 'net.bridge.bridge-nf-call-iptables = 1' |& sudo tee "${_conf}"
+# Set memory overcommit to 0 for extra checks during memory allocation
+echo 'vm.overcommit_memory = 0' |& sudo tee -a "${_conf}"
sudo sysctl -q -p "${_conf}"