From a567be6334bd9a263e9188cdeaee87c7be4901b9 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Sun, 30 Mar 2025 13:07:49 +0200 Subject: [PATCH] docs(day-2): More sessions --- content/day-2/06_geo-distributed-clusters.md | 55 ++++++++++++++++++++ content/day-3/_index.md | 2 + 2 files changed, 57 insertions(+) create mode 100644 content/day-2/06_geo-distributed-clusters.md diff --git a/content/day-2/06_geo-distributed-clusters.md b/content/day-2/06_geo-distributed-clusters.md new file mode 100644 index 0000000..eb15906 --- /dev/null +++ b/content/day-2/06_geo-distributed-clusters.md @@ -0,0 +1,55 @@ +--- +title: Geographically Distributed Clusters: Resilient Distributed Compute on the Edge +weight: 6 +tags: + - rejekts +--- + + + +## Background: The state of cloud in mauritius + +- Cloud native is more cloud naive +- Government treated cloud as bad for a while +- People know AWS but not the cloud native ecosystem +- Bad uplinks due to sea-cables that tend to get broken from time to time +- Only one local cloud service provider and the big providers are "an ocean away" + +## The Solution + +- Idea: Use multiple homelabs across the island as availability zones or multi-cloud +- Goal: Orchestrate everything through kubernetes +- Plan: 3 Homelabs with at least 3 Nodes each that join one big cluster +- Tech: Longhorn Storage, Tailscale for connectivity +- Converns: Latency, Power-Cuts, Bandwidth, IP-Rotation +- Prod use: A startup wanted to use this for their workload and needed + - Tailscale exit nodes for external services + - GPU nodes for AI-Workload + +## Q&A + +- How is ingress handled (by me)? + - Migrate the control plane to the cloud provider and use their static IPs. + - Ingress allways starts at the cloud and routes over +- Why tailscale? + - Fairly reliable + - Pretty simple + - Handles routing +- How are you planning on scaling this setup? + - More friends aka more homelab locations + - Utilize Tailscale +- How are you handling image distribution? + - Bandwitdh is not that limited (200 Down) + - They just host their own registry for stuff +- What about the neighboring islands? -> Cool ideas +- How big is your local cloud community? -> 15 People at smaller meetups and 1600 at the yearly dev meetup +- How do you handle security in your setup? + - This is not the primary concern for the government + - Most locals banks/insurers have inhouse servers or stuff on aws + - Most of the time security is an afterthought +- What kind of hardware are you running on and how do you aquire it? + - The second hand market is not really a thing (or rather expensive). + - They usually just import stuff themselves + - Most Nodes are Dell Optiplex or Lenovo Thinkcenters +- How does longhorn perform over the 200mbit connection? -> Surprisingly good +- Is Starlink available? -> No and the government does things linke "let's shut down socialmedia before the election" \ No newline at end of file diff --git a/content/day-3/_index.md b/content/day-3/_index.md index 013d43b..0c48ae4 100644 --- a/content/day-3/_index.md +++ b/content/day-3/_index.md @@ -7,3 +7,5 @@ weight: 1 Yes that is a negative day. Why? Because the numbering of the days is based on KubeCon instead of the trip. Why? Ask the sleep deprived version of me who started his trip to London at 2am... + +## What h \ No newline at end of file