Skip to content

cropalato/k8s-gentoken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k8s-gentoken

This project will generate a kubeadm command to join a k8s cluster

How does it works

It is a http server. It will reply a request with a valid kubeadm join command to include a node to an existing cluster.

Input

curl --fail -s -XPOST --header "format: text" "http://localhost:8000/join"

Building

CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -tags netgo -ldflags '-w -extldflags "-static"' -o k8s-gentoken *.go

About

API to generate kubeadm join command

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published