Commit 334c190a authored by Nico Schottelius's avatar Nico Schottelius

Add initial script for k8s deployment

parent d155b61a
while [ $# -ge 1 ]; do
host="$1"; shift
echo "Installing on $host ..."
ssh root@$host "
apt-get update && apt-get install -y apt-transport-https curl;
curl -s | apt-key add -;
cat <<EOF >/etc/apt/sources.list.d/kubernetes.list
deb kubernetes-xenial main
ssh root@$host "apt-get update; apt-get install -y kubeadm kubectl; apt-mark hold kubelet kubeadm kubectl"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment