Documentation
¶
Overview ¶
Package setup prepares a Linux server to run Jokku and (re)starts it.
install.sh and update.sh only fetch the jokku binary and run "jokku setup", so every release carries the host changes it needs: packages, the jokku user, pinned Firecracker / kernel / BuildKit, and the systemd services. Each step checks before it changes anything, so setup is safe to run any number of times.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// Join makes this server a worker in the cluster whose control node is at
// this address (host or host:port), using Token from
// "jokku cluster:join-command".
Join string
Token string
// Name is this node's name in the cluster (default: the hostname).
Name string
// Advertise is the address other nodes reach this one at (default: the
// address used to reach the internet).
Advertise string
// Edge makes this server an edge of a cluster, with the bundle from
// "jokku edge:add": a public machine that only routes traffic to the
// nodes behind it.
Edge string
}
Options select what setup does beyond bringing the server up to date.
Click to show internal directories.
Click to hide internal directories.