Open rajansandeep opened 5 years ago
FYI,
I may have made some mistake when running the script, as I ran it with "sudo" on the first place. And then, seeing that I had a bunch of root
only files and privileges, and cleaned-up and run a second time from my user admin
.
But to make it work from admin
, I had to:
1- modify the lines 92:
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - > /dev/null
cat <<EOF >./kubernetes.list
deb https://apt.kubernetes.io/ kubernetes-xenial main
EOF
sudo cp ./kubernetes.list /etc/apt/sources.list.d/
2- add user admin in the group docker in order to be able to deploy the dind images:
sudo gpasswd -a $USER docker
Still a work in progress, but the script right now can be used to set up an entire Kubernetes DinD cluster with metrics.