Skip to content

Instantly share code, notes, and snippets.

@ranrubin
Created May 3, 2022 11:11
Show Gist options
  • Save ranrubin/3db17fad6a6ef2d9595597b16391f011 to your computer and use it in GitHub Desktop.
Save ranrubin/3db17fad6a6ef2d9595597b16391f011 to your computer and use it in GitHub Desktop.
a command like the following can be used to install the K3s server with the PostgreSQL database as the external datastore
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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment