Untitled

From Jittery Pintail, 7 Years ago, written in Bash, viewed 2 times.
URL https://paste.blessuren.de/view/5541318c Embed
Download Paste or View Raw
  1. #!/bin/sh
  2.  
  3.  
  4. apt-get update
  5. apt-get install -y apt-transport-https ca-certificates curl software-properties-common
  6.  
  7. curl -fsSL https://get.docker.com -o get-docker.sh
  8. sh get-docker.sh
  9.  
  10. apt-get update && apt-get install -y apt-transport-https curl
  11. curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
  12.  
  13. cat <<EOF >/etc/apt/sources.list.d/kubernetes.list
  14.  
  15. deb https://apt.kubernetes.io/ kubernetes-xenial main
  16.  
  17. EOF
  18.  
  19. apt-get update
  20. apt-get install -y kubelet kubeadm kubectl
  21. apt-mark hold kubelet kubeadm kubectl
  22.  
  23. # tools
  24. apt-get install -y vim jq procps curl
  25.  
  26. swapoff -a

Reply to "Untitled"

Here you can reply to the paste above