diff --git a/setup-kubetools-new.sh b/setup-kubetools-new.sh deleted file mode 100755 index 54c484f..0000000 --- a/setup-kubetools-new.sh +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/bash -# kubeadm installation instructions as on -# https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/ - -# this script supports centos 7 and Ubuntu 20.04 only -# run this script with sudo - -if ! [ $USER = root ] -then - echo run this script with sudo - exit 3 -fi - -# setting MYOS variable -MYOS=$(hostnamectl | awk '/Operating/ { print $3 }') -OSVERSION=$(hostnamectl | awk '/Operating/ { print $4 }') - -##### CentOS 7 config -if [ $MYOS = "CentOS" ] -then - echo RUNNING CENTOS CONFIG - cat < /etc/sysctl.d/k8s.conf -net.bridge.bridge-nf-call-ip6tables = 1 -net.bridge.bridge-nf-call-iptables = 1 -EOF -sysctl --system