fixed single node cluster

This commit is contained in:
Karim Naufal
2022-04-12 17:35:09 +02:00
parent d3bb8b2605
commit f1a98c7290
6 changed files with 14 additions and 16 deletions

View File

@@ -170,14 +170,9 @@ spec:
<summary>Single-node cluster</summary>
Running a development cluster on a single node, without any high-availability is possible as well.
In this case, we don't deploy an external load-balancer, but use [k3s service load balancer](https://rancher.com/docs/k3s/latest/en/networking/#service-load-balancer) on the host itself and open up port 80 & 443 in the firewall.
Running a development cluster on a single node, without any high-availability is possible as well. You need one control plane nodepool with a count of 1, and one agent nodepool with a count of 0.
``` terraform
control_plane_count = 1
allow_scheduling_on_control_plane = true
agent_nodepools = []
```
In this case, we don't deploy an external load-balancer, but use the default [k3s service load balancer](https://rancher.com/docs/k3s/latest/en/networking/#service-load-balancer) on the host itself and open up port 80 & 443 in the firewall (done automatically).
</details>