Skip to content

lkj4/k3s-ha-cheatsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Random notes how to copy'n'paste together a k3s HA cluster.

Deploy 3 vps' within a private network with following init scripts:

The first server's (aka master or control-plane) init:

curl -sfL https://get.k3s.io | \
  INSTALL_K3S_CHANNEL=latest \
  INSTALL_K3S_VERSION=v1.21.0+k3s1 \
  sh -s - \
  --cluster-init \
  --token superlametoken

The following servers' (aka master or control-plane) init:

curl -sfL https://get.k3s.io | \
  INSTALL_K3S_CHANNEL=latest \
  INSTALL_K3S_VERSION=v1.21.0+k3s1 \
  sh -s - \
  --server http://<private IP of the first server>:6443 \
  --token superlametoken

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published