All Projects → bbelky → Hkube

bbelky / Hkube

Licence: apache-2.0
Kubernetes cluster deployment to Hetzner Cloud

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Hkube

Ops Cli
Ops - cli wrapper for Terraform, Ansible, Helmfile and SSH for cloud automation
Stars: ✭ 152 (+176.36%)
Mutual labels:  ansible, terraform, kubernetes-cluster, kubernetes-deployment
Kubeadm Ansible
Build a Kubernetes cluster using kubeadm via Ansible.
Stars: ✭ 479 (+770.91%)
Mutual labels:  ansible, kubernetes-cluster
Tads Boilerplate
Terraform + Ansible + Docker Swarm boilerplate = DevOps on 🔥🔥🔥 | Infrastructure as Code
Stars: ✭ 424 (+670.91%)
Mutual labels:  ansible, terraform
Geodesic
🚀 Geodesic is a DevOps Linux Distro. We use it as a cloud automation shell. It's the fastest way to get up and running with a rock solid Open Source toolchain. ★ this repo! https://slack.cloudposse.com/
Stars: ✭ 629 (+1043.64%)
Mutual labels:  terraform, kubernetes-cluster
Kubeoperator
KubeOperator 是一个开源的轻量级 Kubernetes 发行版,专注于帮助企业规划、部署和运营生产级别的 K8s 集群。
Stars: ✭ 4,147 (+7440%)
Mutual labels:  ansible, terraform
Rak8s
Stand up a Raspberry Pi based Kubernetes cluster with Ansible
Stars: ✭ 354 (+543.64%)
Mutual labels:  ansible, kubernetes-cluster
Kubernix
Single dependency Kubernetes clusters for local testing, experimenting and development
Stars: ✭ 545 (+890.91%)
Mutual labels:  kubernetes-cluster, 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 (+423.64%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment
Terraform Openstack Rke
Terraform Openstack RKE
Stars: ✭ 23 (-58.18%)
Mutual labels:  terraform, kubernetes-deployment
Airflow Toolkit
Any Airflow project day 1, you can spin up a local desktop Kubernetes Airflow environment AND one in Google Cloud Composer with tested data pipelines(DAGs) 🖥 >> [ 🚀, 🚢 ]
Stars: ✭ 51 (-7.27%)
Mutual labels:  terraform, kubernetes-deployment
K8s Digitalocean Terraform
Deploy latest Kubernetes cluster on DigitalOcean using Terraform
Stars: ✭ 33 (-40%)
Mutual labels:  terraform, kubernetes-cluster
Tks
Enable enthusiasts and administrators alike to easily provision highly available and production-ready Kubernetes clusters on Proxmox VE.
Stars: ✭ 319 (+480%)
Mutual labels:  ansible, terraform
Home Cluster
My home Kubernetes (k3s) cluster managed by GitOps (Flux2)
Stars: ✭ 303 (+450.91%)
Mutual labels:  ansible, kubernetes-cluster
Magic Modules
Automatically generate Google Cloud Platform support for OSS IaaC Projects
Stars: ✭ 358 (+550.91%)
Mutual labels:  ansible, terraform
Kubernetes Workshop
⚙️ A Gentle introduction to Kubernetes with more than just the basics. 🌟 Give it a star if you like it.
Stars: ✭ 3,122 (+5576.36%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment
Terraform Provisioner Ansible
Ansible with Terraform 0.13.x
Stars: ✭ 520 (+845.45%)
Mutual labels:  ansible, terraform
Ansible Dcos
[DEPRECATED] Please consider using the Ansible Roles for DC/OS maintained by the Mesosphere SRE team
Stars: ✭ 41 (-25.45%)
Mutual labels:  ansible, terraform
Kubenow
Deploy Kubernetes. Now!
Stars: ✭ 285 (+418.18%)
Mutual labels:  terraform, kubernetes-cluster
Eksctl
The official CLI for Amazon EKS
Stars: ✭ 3,550 (+6354.55%)
Mutual labels:  kubernetes-cluster, kubernetes-deployment
Terrible
Transform Terraform state into Ansible inventories
Stars: ✭ 18 (-67.27%)
Mutual labels:  ansible, terraform

hkube - Deploy Kubernetes Cluster to Hetzner Cloud

Automated Kubernetes cluster deployment to Hetzner Cloud based on kubespray. Hkube automatically creates Hetzner Cloud instances and deploy Kubernetes cluster based on kubespray.

Quick Start

Hkube uses ansible and terraform, so you need to install them first to your machine. For example, if you use macOS you can do it using homebrew.

Homebrew Installation

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Ansible Installation

homebrew install ansible

Terraform Installation

homebrew install terraform

Hkube Installation

Download hkube from github:

git clone https://github.com/bbelky/hkube/

Next you need to add your credentials and k8s settings to config.json file. Copy it from the example first:

mv config.json.example config.json

After that open the config.json file and add you credentials.

Kubernetes Deployment

Create configuration files and download kubespray:

./hkube config

Deploy your cluster:

./hkube deploy   
...
Kubernetes cluster deployed! 
Kubernetes IPs:  116.203.63.47 116.203.49.67 116.203.58.163

Connect to cluster

Download k8s config file from master server. First IP in the list is your master server.

scp [email protected]_SERVER_IP:/root/.kube/config kubeconf

Connect to your k8s cluster:

# To get list of nodes:
kubectl --kubeconfig="kubeconf" get nodes
# To get cluster config:
kubectl --kubeconfig="kubeconf" cluster-info

Delete cluster

./hkube destroy

More info

How to use Kubespray https://github.com/kubernetes-sigs/kubespray

Contribution

Hkube is OpenSource software and you are free to contribute. Just send your commit and create merge request.

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].