add email 02
CI/CD (dev on branch, prod on tag) / build-and-deploy (push) Successful in 4m54s

This commit is contained in:
Tom Chien (IQ-AS)
2026-11-19 16:16:43 +08:00
parent a3d3884451
commit ef3ab9255d
3 changed files with 30 additions and 11 deletions
+21 -9
View File
@@ -6,11 +6,21 @@ import { RequestFlow } from "@/components/lab/RequestFlow";
import { ServiceLinks } from "@/components/lab/ServiceLinks";
import { profile } from "@/content/site";
function SubHeading({ title, children }: { title: string; children?: React.ReactNode }) {
function SubHeading({
title,
children,
}: {
title: string;
children?: React.ReactNode;
}) {
return (
<div className="mb-8">
<h3 className="text-xl font-semibold text-white">{title}</h3>
{children && <p className="mt-1 max-w-3xl text-sm leading-6 text-slate-400">{children}</p>}
{children && (
<p className="mt-1 max-w-3xl text-sm leading-6 text-slate-400">
{children}
</p>
)}
</div>
);
}
@@ -26,14 +36,15 @@ export default function Home() {
<Section
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 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."
title="A Self-Hosted CI/CD and Kubernetes lab on a Mac mini"
lead="Kubernetes comes from Docker Desktop on my Mac mini in my home lab. 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."
>
<div>
<SubHeading title="How a request reaches a pod">
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 pods in the cluster too,
but each is exposed by its own LoadBalancer service on :8080 and :3001, so they are not
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 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.
</SubHeading>
<RequestFlow />
@@ -41,8 +52,9 @@ export default function Home() {
<div className="mt-20">
<SubHeading title="From git push to running pod">
Gitea Actions builds the image on the Docker Desktop daemon, stores it in Harbor and
deploys it with Helm. A branch push goes to dev, a tag goes to prod.
Gitea Actions builds the image on the Docker Desktop daemon,
stores it in Harbor and deploys it with Helm. A branch push goes
to dev, a tag goes to prod.
</SubHeading>
<CicdFlow />
</div>