k8s-gentoken

command module
v0.0.0-...-4b101d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2022 License: MIT Imports: 19 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL