aboutsummaryrefslogtreecommitdiffstats
path: root/lib/_installers
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-06-04 07:06:39 -0700
committerVictor Morales <victor.morales@intel.com>2018-06-04 07:06:39 -0700
commit0d41bc49d18ebf126faa9a709dbe59b2bccc8ee1 (patch)
tree63b717a3f37cf7419dec51f4a9faa0ff9cc91deb /lib/_installers
parentbe66121f520203c231fcb7b776f7223dfe92c9f1 (diff)
Increase the number of Pods per Nodes2.0.0-ONAP2.0.0-ONAP
The default maximum number of pods per kubelet node supported is 110. This configuration number can be increased in kubespray thru 'kubelet_max_pods' configuration value. This value has direct relationship with 'kube_network_node_prefix' which define the size of the internal network. Change-Id: I0ba33f2e44e5e243008b467ac8d3e34a07a61e90 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-478
Diffstat (limited to 'lib/_installers')
-rwxr-xr-xlib/_installers27
1 files changed, 12 insertions, 15 deletions
diff --git a/lib/_installers b/lib/_installers
index f972d36..3273f8c 100755
--- a/lib/_installers
+++ b/lib/_installers
@@ -235,23 +235,20 @@ function _install_ODL {
# install_go() - Install GoLang package
function install_go {
- if is_package_installed golang-go; then
+ if $(go version &>/dev/null); then
return
fi
- source /etc/os-release || source /usr/lib/os-release
- case ${ID,,} in
- *suse)
- ;;
- ubuntu|debian)
- install_package software-properties-common
- add-apt-repository -y ppa:gophers/archive
- ;;
- rhel|centos|fedora)
- ;;
- esac
- update_repos
+ local version=1.10.2
+ local os=linux
+ local arch=amd64
+ local tarball=go$version.$os-$arch.tar.gz
+
+ wget https://dl.google.com/go/$tarball
+ tar -C /usr/local -xzf $tarball
+ rm $tarball
- install_package golang-go
+ export PATH=$PATH:/usr/local/go/bin
+ sed -i "s|^PATH=.*|PATH=\"$PATH\"|" /etc/environment
}
# install_dep() - Install dep GoLand tool
@@ -433,7 +430,7 @@ function _install_kubectl {
# install_helm() - Function that install Kubernetes Package Manager
function install_helm {
- local helm_version=v2.7.2
+ local helm_version=v2.8.2
local helm_tarball=helm-${helm_version}-linux-amd64.tar.gz
if ! $(helm version &>/dev/null); then