Skip to content

Commit

Permalink
Updates k3s install options in install guide
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaskuechler committed May 14, 2024
1 parent c8ad71c commit 049d0b5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/install-understack-ubuntu-k3s.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 049d0b5

Please sign in to comment.