diff --git a/README.md b/README.md
index b452b1c..7921c5f 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
Interview portal for my Kubernetes home lab. A single-page Next.js site with two sections:
1. **The Lab** - diagrams of the request path and the CI/CD pipeline, plus a link list for `it-cost-prod`, `harbor` and `gitea`.
- - Request path: GoDaddy DNS -> host Nginx :80 -> ingress-nginx :8081 -> Service -> Pod for the applications. `harbor` (`:8080`) and `gitea` (`:3001`) are not behind ingress-nginx; they are reached directly on their own ports.
+ - Request path: GoDaddy DNS -> host Nginx :80 -> ingress-nginx :8081 -> Service -> Pod for the applications. `harbor` (`:8080`) and `gitea` (`:3001`) are pods in the same cluster, but each is exposed by its own LoadBalancer Service on a host port, so they are not behind ingress-nginx.
- CI/CD: git push -> Gitea Actions -> docker build -> Harbor -> Helm -> Kubernetes.
2. **Travel** - link to the travel map.
diff --git a/app/page.tsx b/app/page.tsx
index 3c851a9..a64f95e 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -27,13 +27,14 @@ export default function Home() {
id="lab"
eyebrow="The Lab"
title="A Kubernetes lab on a Mac mini"
- lead="Kubernetes comes from Docker Desktop on my Mac mini. A host-level Nginx accepts traffic on port 80 and hands it to the cluster's ingress controller, which routes each application hostname to the right service. Harbor and Gitea sit outside the cluster and are reached directly on their own ports. Everything below is hosted on that one machine, including this site."
+ lead="Kubernetes comes from Docker Desktop on my Mac mini. A host-level Nginx accepts traffic on port 80 and hands it to the cluster's ingress controller, which routes each application hostname to the right service. Harbor and Gitea run in the same cluster, but each is exposed by its own LoadBalancer service on a host port, so they skip the ingress. Everything below is hosted on that one machine, including this site."
>
DNS is managed at GoDaddy. Application traffic passes through the host Nginx and the
- cluster ingress before landing on a pod. Harbor and Gitea are not behind the ingress;
- they are served directly on their own ports.
+ cluster ingress before landing on a pod. Harbor and Gitea are pods in the cluster too,
+ but each is exposed by its own LoadBalancer service on :8080 and :3001, so they are not
+ behind the ingress.
diff --git a/components/Section.tsx b/components/Section.tsx
index e13391f..e11dbce 100644
--- a/components/Section.tsx
+++ b/components/Section.tsx
@@ -5,16 +5,22 @@ export function Section({
eyebrow,
title,
lead,
+ compactTop = false,
children,
}: {
id: string;
eyebrow: string;
title: string;
lead?: ReactNode;
+ /** Trim the top padding when the section follows another one, so the gap between them isn't doubled. */
+ compactTop?: boolean;
children: ReactNode;
}) {
return (
-
+
{eyebrow}
diff --git a/components/Travel.tsx b/components/Travel.tsx
index a482ad4..b0b113d 100644
--- a/components/Travel.tsx
+++ b/components/Travel.tsx
@@ -7,6 +7,7 @@ export function Travel() {
return (
, text: "One pipeline, two environments" },
-];
-
export function CicdFlow() {
return (
-
-
- }
- title="git push"
- subtitle="A branch or tag push starts the pipeline."
- detail="dev | v1.2.3"
- />
-
- }
- title="Gitea Actions"
- subtitle="act_runner picks up the workflow from the repo."
- detail="cicd.yaml"
- />
-
- }
- title="docker build"
- subtitle="Runner pod uses the Docker Desktop daemon socket."
- detail="multi-stage Dockerfile"
- />
-
- }
- title="Harbor"
- subtitle="Image is pushed to the private registry."
- detail="registry :8080"
- />
-
- }
- title="helm upgrade"
- subtitle="Chart is rolled out to the namespace."
- detail="--atomic"
- />
-
- }
- title="Kubernetes"
- subtitle="Pods pull from Harbor with a pull secret."
- detail="Deployment · Service · Ingress"
- />
-
-
-
- {guarantees.map((g) => (
- -
- {g.icon}
- {g.text}
-
- ))}
-
+
+ }
+ title="git push"
+ subtitle="A branch or tag push starts the pipeline."
+ detail="dev | v1.2.3"
+ />
+
+ }
+ title="Gitea Actions"
+ subtitle="act_runner picks up the workflow from the repo."
+ detail="cicd.yaml"
+ />
+
+ }
+ title="docker build"
+ subtitle="Runner pod uses the Docker Desktop daemon socket."
+ detail="multi-stage Dockerfile"
+ />
+
+ }
+ title="Harbor"
+ subtitle="Image is pushed to the private registry."
+ detail="registry :8080"
+ />
+
+ }
+ title="helm upgrade"
+ subtitle="Chart is rolled out to the namespace."
+ detail="--atomic"
+ />
+
+ }
+ title="Kubernetes"
+ subtitle="Pods pull from Harbor with a pull secret."
+ detail="Deployment · Service · Ingress"
+ />
);
}
diff --git a/components/lab/RequestFlow.tsx b/components/lab/RequestFlow.tsx
index afb8a74..4e5e219 100644
--- a/components/lab/RequestFlow.tsx
+++ b/components/lab/RequestFlow.tsx
@@ -19,8 +19,11 @@ type Target = {
accent: string;
};
-/** Reached on their own host ports; they sit beside the cluster, not behind it. */
-const direct: Target[] = [
+/**
+ * Pods in the cluster that are exposed by their own LoadBalancer Service on a
+ * host port, so they bypass ingress-nginx.
+ */
+const loadBalanced: Target[] = [
{
name: "harbor",
detail: "harbor.tomchien.com:8080",
@@ -109,8 +112,11 @@ export function RequestFlow() {
label="Mac mini · macOS host"
icon={
}
>
-
-
+
+ {/* lg:mt-9 lines the Nginx node up with the ingress-nginx node (the
+ first row inside the Docker Desktop boundary), not with the whole
+ boundary, which is taller because of the LoadBalancer row. */}
+
+
-
}
- tone="border-sky-400/40"
- className="min-w-0 flex-1"
- >
+
}
+ tone="border-sky-400/40"
+ className="min-w-0 flex-1"
+ >
+
-
-
-
-
- Direct on their own ports · not behind ingress-nginx
-
-
- {direct.map((t) => (
- -
-
-
- ))}
-
-
+
+
+ LoadBalancer Service → Pod · own ports, not behind ingress-nginx
+
+
+ {loadBalanced.map((t) => (
+ -
+
+
+ ))}
+
+
+
+