Skip to content
Deploy VMs and 4 node k3s cluster on them in under 60 seconds
Branch: master
Clone or download
Latest commit d337c57 Nov 18, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
GCP Added set -e, updated image version, changed sed localhost to Nov 15, 2019
digitalocean Added "set -e" + small fixed Nov 15, 2019
LICENSE Initial commit Aug 5, 2019 Update Nov 18, 2019
proof.png Add files via upload Sep 16, 2019



Kubernetes in 60 seconds deployer. Simple bash script which spins up VMs in GCP/DigitalOcean, installs k3s on them and downloads kube config.

Getting Started

Please follow instructions below depending on the cloud provider you want to use.



For DigitalOcean the only thing you need is token (How to get token) and ssh key fingerprints. DO cli is not required. Simply paste your token on line 7:

# Paste your DO token below

And ssh key fingerprint (you can get it from "Security" menu on your digitalocean account) in both json files in digitalocean folder. Feel free to change droplet size, region, whatever according to your needs.

"ssh_keys": ["8b:f9:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"],


If you wish to not overwrite your existing kube config (which script does by default), set load_kube_config to false (line 9 in

Simply execute


On DigitalOcean process takes around 2 minutes

Google Cloud


In order to use 60sk3s with Google Cloud, you need to have gcloud cli installed (How to do it) and prefferably default zone and project set. You can do that by executing:

gcloud config set compute/region europe-west4-a

gcloud config set core/project my-project

It also assumes that you have your ssh key added to project metadata (therefore it's loaded into every VM you sping up in that project). If you don't then you can either do that (How-to) or provide you ssh key in the script itself. For that you need to uncomment and fill lines 43 and 54 in GCP/

Just keep in mind that You need to put it in format username:your_ssh_key. So if You do $cat at the end there will be something like john@host so then your metadata parameter should look like:

--metadata=ssh-keys="john:ssh-rsa AAAAB3Nz[...]ktk/HB3 john@host" \



./ [cluster_name]

To destroy the cluster:

./ [cluster_name] delete

On GoogleCloud process takes less than 60 seconds


Simply raise a GitHub issue or send a PR.


This project is licensed under the GPL-3.0 license - see the file for details

You can’t perform that action at this time.