Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

kube-config phases

  1. Connect to hosts
    • Connects to a remote host via github.com/k0sproject/rig
  2. Detect host operating systems
    • Gathers information about the remote host, including: OS and OS version
  3. Acquire exclusive host lock
    • Runs a background task that touches a file every 30 seconds on each remote node. This prevents other cargoships from making any changes until the lock file has not been touched for over a minute
  4. Gather host facts
    • Gathers network related information about the remote host, including: Hostname, Private Address, Private Interface. Will also update the hosts based off the profile if configured in the config file.
  5. Updating kubeconfig file with the current cluster
    • If enabled, this will update the local kubeconfig with the admin creds for the current distro
  6. Release exclusive host lock
    • Deletes the lock file from each node, allowing other cargoships to run
  7. Disconnect from hosts
    • Deletes any lingering temp files and disconnects from the remote node