-
}
- title="Nginx on the host"
- subtitle="Edge reverse proxy: redirects port 80 into the cluster."
- detail="listen :80 → 127.0.0.1:8081"
- className="lg:max-w-60"
- />
-
+
+
+
}
+ title="Nginx on the host"
+ subtitle="Edge reverse proxy: takes port 80 and forwards it to the cluster ingress."
+ detail="listen :80 → 127.0.0.1:8081"
+ className="lg:max-w-60"
+ />
+
-
}
- tone="border-sky-400/40"
- className="min-w-0 flex-1"
- >
-
-
}
- title="ingress-nginx"
- subtitle="LoadBalancer on 127.0.0.1. Routes by the Host header."
- detail="127.0.0.1 : 8081"
- className="lg:max-w-56"
- />
-
-
-
-
- 5
-
- Service → Pod
-
-
- {targets.map((t) => (
- -
- }
+ tone="border-sky-400/40"
+ className="min-w-0 flex-1"
+ >
+
+
}
+ title="ingress-nginx"
+ subtitle="LoadBalancer on 127.0.0.1. Routes each application hostname by its Host header."
+ detail="127.0.0.1 : 8081"
+ className="lg:max-w-56"
+ />
+
+
+
+
+ 5
+
+ Service → Pod
+
+
+ {targets.map((t) => (
+ -
- {t.icon}
-
-
- {t.name}
-
- {t.detail}
-
-
-
- ))}
-
+
+
+ ))}
+
+
-
-
+
+
+
+
+
+ Direct on their own ports · not behind ingress-nginx
+
+
+ {direct.map((t) => (
+ -
+
+
+ ))}
+
+
diff --git a/components/lab/StackBadges.tsx b/components/lab/StackBadges.tsx
deleted file mode 100644
index fa7488a..0000000
--- a/components/lab/StackBadges.tsx
+++ /dev/null
@@ -1,39 +0,0 @@
-import {
- siApple,
- siDocker,
- siGitea,
- siGodaddy,
- siHarbor,
- siHelm,
- siKubernetes,
- siNginx,
-} from "simple-icons";
-import type { SimpleIcon } from "simple-icons";
-import { BrandIcon } from "@/components/BrandIcon";
-
-const stack: { icon: SimpleIcon; label: string; color?: string }[] = [
- { icon: siApple, label: "Mac mini", color: "#e2e8f0" },
- { icon: siDocker, label: "Docker Desktop" },
- { icon: siKubernetes, label: "Kubernetes" },
- { icon: siNginx, label: "Nginx · ingress-nginx" },
- { icon: siGodaddy, label: "GoDaddy DNS" },
- { icon: siGitea, label: "Gitea Actions" },
- { icon: siHarbor, label: "Harbor" },
- { icon: siHelm, label: "Helm", color: "#7c8cff" },
-];
-
-export function StackBadges() {
- return (
-
- {stack.map((s) => (
- -
-
- {s.label}
-
- ))}
-
- );
-}
diff --git a/content/site.ts b/content/site.ts
index e5debaa..64defb3 100644
--- a/content/site.ts
+++ b/content/site.ts
@@ -11,9 +11,6 @@ export const profile = {
name: "Tom Chien",
};
-/** One string per paragraph. Replace "TBD" with the ~200 word introduction. */
-export const introduction: string[] = ["TBD"];
-
export type Credentials = { user: string; password: string };
export type LabService = {
@@ -37,9 +34,10 @@ export const labServices: LabService[] = [
{
id: "harbor",
name: "Harbor",
- description: "Container registry that stores every image the pipeline builds.",
- host: "harbor.tomchien.com",
- url: `${SCHEME}://harbor.tomchien.com`,
+ description:
+ "Container registry that stores every image the pipeline builds.",
+ host: "harbor.tomchien.com:8080",
+ url: `${SCHEME}://harbor.tomchien.com:8080`,
user: "TBD",
password: "TBD",
},
@@ -47,8 +45,8 @@ export const labServices: LabService[] = [
id: "gitea",
name: "Gitea",
description: "Git hosting and Actions CI/CD that drives every deployment.",
- host: "gitea.tomchien.com",
- url: `${SCHEME}://gitea.tomchien.com`,
+ host: "gitea.tomchien.com:3001",
+ url: `${SCHEME}://gitea.tomchien.com:3001`,
user: "TBD",
password: "TBD",
},