Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Updates k3s install options in install guide #88

Merged
merged 1 commit into from
May 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading