perf-tests icon indicating copy to clipboard operation
perf-tests copied to clipboard

[WIP]: Script to deploy a DinD cluster for Long run tests

Open rajansandeep opened this issue 7 years ago • 1 comments

Still a work in progress, but the script right now can be used to set up an entire Kubernetes DinD cluster with metrics.

rajansandeep avatar Feb 05 '19 15:02 rajansandeep

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

fturib avatar Feb 08 '19 19:02 fturib