Created
May 3, 2022 11:28
-
-
Save ranrubin/b31834cb2de0f306f5d44697b8784dbc to your computer and use it in GitHub Desktop.
A command like the following can be used to install the remaining K3s server nodes with the same PostgreSQL database as the external datastore and the token that was retrieved from the first server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -sfL https://get.k3s.io | K3S_KUBECONFIG_MODE=644 INSTALL_K3S_VERSION="v1.21.9+k3s1" sh -s -- server - -debug -- disable traefik -- datastore-endpoint="postgres://username:password@our-db-k3s-db-postgres.abcdefghijk.us-west-2.rds.amazonaws.com:5432/developmentk3sPostgres" -- token="${TOKEN}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment