Skip to content

Commit

Permalink
updates readme, prepare next release 0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
xetys committed Jan 31, 2018
1 parent 486d65d commit f870a12
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This is my very first tool written in Go.

Get the linux binary from releases page.

[Download version 0.0.1 - linux-amd64](https://github.com/xetys/hetzner-kube/releases/download/0.0.1/hetzner-kube)
[Download version 0.0.2 - linux-amd64](https://github.com/xetys/hetzner-kube/releases/download/0.0.2/hetzner-kube)


or get it from source:
Expand Down Expand Up @@ -45,4 +45,7 @@ $ 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...
## Full tutorial

[This article](http://stytex.de/blog/2018/01/29/deploy-kubernetes-hetzner-cloud-openebs/) guides through a full
cluster setup.
3 changes: 2 additions & 1 deletion cmd/clusterCreate.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func (cluster *Cluster) InstallMaster() error {
}

for i, command := range commands {
log.Printf("running command %d/%d on %s", i, len(commands), node.Name)
log.Printf("running command %d/%d on %s", i + 1, len(commands), node.Name)
_, err := runCmd(node, command)
if err != nil {
return err
Expand All @@ -228,6 +228,7 @@ func (cluster *Cluster) InstallWorkers() error {
for _, node := range cluster.Nodes {
if node.IsMaster {
output, err := runCmd(node, "kubeadm token create --print-join-command")
log.Printf("Registering node %s", node.Name)
if err != nil {
return err
}
Expand Down

0 comments on commit f870a12

Please sign in to comment.