4 Commits
Author SHA1 Message Date
Tom Chien (IQ-AS) 54bb605d9c add AUTH_TRUST_HOS env variable in helm deployment yaml
CI/CD (dev on branch, prod on tag) / build-and-deploy (push) Successful in 7m16s
2026-11-19 23:03:11 +08:00
Tom Chien (IQ-AS) ef3ab9255d add email 02
CI/CD (dev on branch, prod on tag) / build-and-deploy (push) Successful in 4m54s
2026-11-19 16:16:43 +08:00
Tom Chien (IQ-AS) a3d3884451 add email 01
CI/CD (dev on branch, prod on tag) / build-and-deploy (push) Successful in 9m8s
2026-11-19 15:55:05 +08:00
Tom Chien (IQ-AS) b084978ac4 add email
CI/CD (dev on branch, prod on tag) / build-and-deploy (push) Successful in 8m25s
2026-11-19 15:39:57 +08:00
4 changed files with 33 additions and 10 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>
+7 -1
View File
@@ -21,7 +21,13 @@ export function Header() {
<span className="flex size-7 items-center justify-center rounded-md bg-linear-to-br from-sky-400 to-indigo-500 text-xs font-bold text-slate-950">
{initials}
</span>
<span className="sr-only sm:not-sr-only">{profile.name}</span>
<div className="hidden sm:flex sm:items-center sm:gap-2">
<span className="sr-only sm:not-sr-only">{profile.name}</span>
<span className="text-slate-600">•</span>
<span className="text-xs font-normal text-slate-400">
{profile.email}
</span>
</div>
</a>
<nav aria-label="Primary">
<ul className="flex items-center gap-1 text-sm">
+1
View File
@@ -9,6 +9,7 @@ const SCHEME = "http";
export const profile = {
name: "Tom Chien",
email: "s871077@gmail.com",
};
export type Credentials = { user: string; password: string };
+4
View File
@@ -37,6 +37,10 @@ spec:
value: {{ .Values.server.port | quote }}
- name: HOSTNAME
value: "0.0.0.0"
- name: AUTH_TRUST_HOST
value: "true"
# - name: AUTH_URL
# value: https://tomchien.com
readinessProbe:
httpGet:
path: /