All Projects → DavidZisky → 60sk3s

DavidZisky / 60sk3s

Licence: gpl-3.0
Deploy VMs and 4 node k3s cluster on them in under 60 seconds

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to 60sk3s

spring-boot-microservice-best-practices
Best practices and integrations available for Spring Boot based Microservice in a single repository.
Stars: ✭ 139 (+172.55%)
Mutual labels:  kubernetes-deployment
K8s Kotlin Dsl
Kotlin DSL for Kubernetes configs
Stars: ✭ 259 (+407.84%)
Mutual labels:  kubernetes-deployment
Carvel Kapp
kapp is a simple deployment tool focused on the concept of "Kubernetes application" — a set of resources with the same label
Stars: ✭ 489 (+858.82%)
Mutual labels:  kubernetes-deployment
sentry-k8s
Sentry for Kubernetes
Stars: ✭ 25 (-50.98%)
Mutual labels:  kubernetes-deployment
k8s-day2-ops
This repository contain scripts for Kubernetes day 2 operations
Stars: ✭ 25 (-50.98%)
Mutual labels:  kubernetes-deployment
Kubekey
Provides a flexible, rapid and convenient way to install Kubernetes only, both Kubernetes and KubeSphere, and related cloud-native add-ons. It is also an efficient tool to scale and upgrade your cluster.
Stars: ✭ 288 (+464.71%)
Mutual labels:  kubernetes-deployment
kubernetes
Kubernetes Course
Stars: ✭ 19 (-62.75%)
Mutual labels:  kubernetes-deployment
Kubernetes Che
Example deploying Eclipse Che on a Kubernetes cluster
Stars: ✭ 17 (-66.67%)
Mutual labels:  kubernetes-deployment
Kubernetes Tutorial
Running Kubernetes cluster Locally tutorial
Stars: ✭ 257 (+403.92%)
Mutual labels:  kubernetes-deployment
Kubernetes
minimal and immutable Kubernetes images built with LinuxKit
Stars: ✭ 341 (+568.63%)
Mutual labels:  kubernetes-deployment
kuberbs
K8s deployment rollback system based on system observability principles of modern stacks
Stars: ✭ 61 (+19.61%)
Mutual labels:  kubernetes-deployment
cd-gitops-reference-architecture
Details of the CD/GitOps architecture in use at InfluxData
Stars: ✭ 16 (-68.63%)
Mutual labels:  kubernetes-deployment
Kubernetes Workshop
⚙️ A Gentle introduction to Kubernetes with more than just the basics. 🌟 Give it a star if you like it.
Stars: ✭ 3,122 (+6021.57%)
Mutual labels:  kubernetes-deployment
ankh
Another Kubernetes Helper
Stars: ✭ 31 (-39.22%)
Mutual labels:  kubernetes-deployment
Rssbox
📰 I consume the world via RSS feeds, and this is my attempt to keep it that way.
Stars: ✭ 492 (+864.71%)
Mutual labels:  kubernetes-deployment
aws-eks-orb
An orb to simplify deployments to Amazon Elastic Container Service for Kubernetes (Amazon EKS)
Stars: ✭ 16 (-68.63%)
Mutual labels:  kubernetes-deployment
Eksctl
The official CLI for Amazon EKS
Stars: ✭ 3,550 (+6860.78%)
Mutual labels:  kubernetes-deployment
Terraform Openstack Rke
Terraform Openstack RKE
Stars: ✭ 23 (-54.9%)
Mutual labels:  kubernetes-deployment
Kubernix
Single dependency Kubernetes clusters for local testing, experimenting and development
Stars: ✭ 545 (+968.63%)
Mutual labels:  kubernetes-deployment
Kubekit
A Kubernetes deployment toolkit for offline environment.
Stars: ✭ 328 (+543.14%)
Mutual labels:  kubernetes-deployment

Proof

60sk3s

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

Getting Started

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

DigitalOcean

Prerequisites

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
do_api_token=""

And ssh key fingerprint (you can get it from the "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"],

Usage

If you wish not to overwrite your existing kubeconfig (which script does by default), set load_kube_config to false (line 9 in k3s_deployer.sh)

Simply execute

./k3s_deployer.sh

On DigitalOcean process takes around 2 minutes.

Google Cloud

Prerequisites

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

gcloud auth login
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 spins 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/deploy.sh

Just keep in mind that You need to put it in format username:your_ssh_key. So if You do $cat your_id_rsa.pub at the end there will be something like [email protected], so then your metadata parameter should look like:

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

Usage

Execute:

./deployer.sh [cluster_name]

To destroy the cluster:

./deployer.sh [cluster_name] delete

On GoogleCloud process takes less than 60 seconds.

Contributing

Simply raise a GitHub issue or send a PR.

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].