From 517678cf0b9a50fd76818eae5458cf58c8a3e554 Mon Sep 17 00:00:00 2001 From: sandervanvugt Date: Mon, 20 Jun 2022 10:34:25 +0200 Subject: [PATCH] message --- DONTUSE_setup-cri.sh | 42 +++++++++++++++++++ DONTUSE_setup-docker.sh | 42 +++++++++++++++++++ DONTUSE_setup-kubetools-ubuntu.sh | 23 +++++++++++ kubeadm-config.yaml | 8 ++++ setup-kubetools-new.sh | 68 +++++++++++++++++++++++++++++++ 5 files changed, 183 insertions(+) create mode 100755 DONTUSE_setup-cri.sh create mode 100755 DONTUSE_setup-docker.sh create mode 100755 DONTUSE_setup-kubetools-ubuntu.sh create mode 100644 kubeadm-config.yaml create mode 100755 setup-kubetools-new.sh diff --git a/DONTUSE_setup-cri.sh b/DONTUSE_setup-cri.sh new file mode 100755 index 0000000..eaa51f1 --- /dev/null +++ b/DONTUSE_setup-cri.sh @@ -0,0 +1,42 @@ +#!/bin/bash +# script that runs +# https://kubernetes.io/docs/setup/production-environment/container-runtime + +echo this script is now deprecated and provided for compatibility reasons only. +echo run setup-container.sh instead. +echo after running setup-container.sh, use setup-kubetools.sh to install the kubernetes tools +echo this script will now stop +echo use Ctrl-C to stop it now +sleep 30 +exit + +yum install -y vim yum-utils device-mapper-persistent-data lvm2 +yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo + +# notice that only verified versions of Docker may be installed +# verify the documentation to check if a more recent version is available + +yum install -y docker-ce +[ ! -d /etc/docker ] && mkdir /etc/docker + +cat > /etc/docker/daemon.json < /etc/docker/daemon.json < /etc/sysctl.d/k8s.conf +net.bridge.bridge-nf-call-ip6tables = 1 +net.bridge.bridge-nf-call-iptables = 1 +EOF +sysctl --system