-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds rudimentary cluster management. This version already can success…
…fully create a running multi-node cluster
- Loading branch information
Showing
6 changed files
with
490 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/thcyron/uiprogress" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,43 @@ | ||
# hetzner-kube | ||
# hetzner-kube: fast and easy setup of kubernetes clusters on Hetzner Cloud | ||
|
||
This project contains a CLI tool to easily provision [kubernetes](https://kubernetes.io) clusters | ||
on [Hetzner Cloud](https://hetzner.com/cloud). | ||
|
||
This is my very first tool written in Go. Usage and docs will come soon. | ||
This is my very first tool written in Go. | ||
|
||
## How to install | ||
|
||
Currently, the only way is | ||
|
||
``` | ||
$ go get -u github.com/xetys/hetzner-kube | ||
``` | ||
|
||
## Usage | ||
|
||
In your [Hetzner Console](https://console.hetzner.cloud) generate an API token and | ||
|
||
``` | ||
$ hetzner-kube context add my-project | ||
Token: <PASTE-TOKEN-HERE> | ||
``` | ||
|
||
Then you need to add an SSH key: | ||
|
||
``` | ||
$ hetzner-kube ssh-key add -n my-key | ||
``` | ||
|
||
This assumes, you already have a SSH keypair `~/.ssh/id_rsa` and `~/.ssh/id_rsa.pub` | ||
|
||
And finally you can create a cluster by running: | ||
|
||
``` | ||
$ hetzner-kube cluster create --name my-cluster --nodes 3 --ssh-key my-key | ||
``` | ||
|
||
This will provision a brand new kubernetes cluster in latest version! | ||
|
||
|
||
More info will come as more development happens here... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.