helmbin

module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0

README

helmbin

Embeds Kubernetes and Helm charts as a single installable binary.

$ ./bin/helmbin 
An embeddable Kubernetes distribution

Usage:
  helmbin [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  install     Installs and starts a controller+worker as a systemd service
  kubectl     kubectl controls the Kubernetes cluster manager
  run         Runs a controller+worker node
  start       Starts the systemd service
  stop        Stops the systemd service
  version     Prints version information

Flags:
  -d, --debug                Enables debug logging
  -h, --help                 help for helmbin

Use "helmbin [command] --help" for more information about a command.

Building

$ make build
go build -gcflags "all=-trimpath=/home/ethan/go/src/github.com/replicatedhq" -asmflags "all=-trimpath=/home/ethan/go/src/github.com/replicatedhq" -ldflags " -X main.goos=linux -X main.goarch=amd64 -X main.gitCommit=1a6e487bb4bcb5049c448983758912afbdb9d1c2 -X main.buildDate=2023-05-24T21:42:34Z " -tags='' -o bin/helmbin ./cmd/helmbin

Running

./bin/helmbin server  --help
Runs a controller+worker node

Usage:
  helmbin run [flags]
  helmbin run [command]

Available Commands:
  controller  Runs a controller node
  worker      Runs a worker node

Flags:
  -c, --config string       k0s config file, use '-' to read the config from stdin (default "/etc/k0s/k0s.yaml")
      --data-dir string     Data Directory. DO NOT CHANGE for an existing setup, things will break! (default "/var/lib/replicated")
  -d, --debug               Debug logging (default: false)
      --enable-worker       enable worker (default true)
  -h, --help                help for run
      --no-taints           disable default taints for controller node (default true)
      --token-file string   Path to the file containing join-token.

Use "helmbin run [command] --help" for more information about a command.
$ ./bin/helmbin install --help
Installs and starts a controller+worker as a systemd service

Usage:
  helmbin install [flags]
  helmbin install [command]

Available Commands:
  controller  Installs and starts a controller as a systemd service
  controller  Installs and starts a worker as a systemd service

Flags:
  -c, --config string       k0s config file, use '-' to read the config from stdin (default "/etc/k0s/k0s.yaml")
      --data-dir string     Data Directory. DO NOT CHANGE for an existing setup, things will break! (default "/var/lib/replicated")
  -d, --debug               Debug logging (default: false)
      --enable-worker       enable worker (default true)
  -h, --help                help for install
      --no-taints           disable default taints for controller node (default true)
      --start               Start the service after installation (default true)
      --token-file string   Path to the file containing join-token.

Use "helmbin install [command] --help" for more information about a command.

Directories

Path Synopsis
cmd
helmbin command
Package main is the entrypoint for the helmbin binary
Package main is the entrypoint for the helmbin binary
pkg
assets
Package assets provides a way to extract assets from the embedded filesystem.
Package assets provides a way to extract assets from the embedded filesystem.
cli
Package cli provides the kurl command and its nested children.
Package cli provides the kurl command and its nested children.
config
Package config provides the configuration for the helmbin binary
Package config provides the configuration for the helmbin binary
controller
Package controller implements component controllers as part of the serve command.
Package controller implements component controllers as part of the serve command.
controller/manager
Package manager implements the component manager
Package manager implements the component manager
server
Package server implements a static HTTP file server for the application.
Package server implements a static HTTP file server for the application.
supervisor
Package supervisor implements a simple process supervisor
Package supervisor implements a simple process supervisor
version
Package version provides the version of the kurl binary
Package version provides the version of the kurl binary
Package static provides the static filesystem.
Package static provides the static filesystem.

Jump to

Keyboard shortcuts

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