From 049d0b5e5d78b8f494a7776833429547a6b41a5b Mon Sep 17 00:00:00 2001 From: nicholaskuechler Date: Mon, 13 May 2024 10:10:44 -0500 Subject: [PATCH] Updates k3s install options in install guide --- docs/install-understack-ubuntu-k3s.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/install-understack-ubuntu-k3s.md b/docs/install-understack-ubuntu-k3s.md index 5cd127aeb..042f903c8 100644 --- a/docs/install-understack-ubuntu-k3s.md +++ b/docs/install-understack-ubuntu-k3s.md @@ -26,8 +26,16 @@ apt-get -y update ## Install K3s +We're using k3s for a lightweight kubernetes install. + +Note the `INSTALL_K3S_EXEC` options used: + +* Disable traefik servicelb because we're using ingress-nginx and MetalLB +* Change cluster-cidr and service-cidr options because k3s defaults to using 10.x.x.x IP ranges, but we're already using 10.x.x.x internally +* Add a node label `openstack-control-plane=enabled` which is needed for the OpenStack components + ```bash -curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--disable=traefik --node-label=openstack-control-plane=enabled" sh - +curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--disable=traefik --disable=servicelb --cluster-cidr=172.20.0.0/16 --service-cidr=172.21.0.0/16 --node-label=openstack-control-plane=enabled" sh - ``` References: