Compare commits
21
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e706f62a83 | ||
|
|
fff4d59e39 | ||
|
|
3a7a2e58d8 | ||
|
|
f68c904846 | ||
|
|
aaa59446f1 | ||
|
|
f5e1d07321 | ||
|
|
16d61c7dea | ||
|
|
303da88239 | ||
|
|
9f3db93f93 | ||
|
|
436cbfb2c6 | ||
|
|
cff8ba4b85 | ||
|
|
6c415c6382 | ||
|
|
e7dfef2ebc | ||
|
|
d0cb810bbe | ||
|
|
ffb31e7f33 | ||
|
|
6cc48b6fa5 | ||
|
|
cd3a4465b4 | ||
|
|
46b1f82771 | ||
|
|
19bf437d79 | ||
|
|
6506a639c9 | ||
|
|
7389b977b4 |
@@ -1,52 +1,46 @@
|
||||
name: Build & Push Portfolio Image
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
REGISTRY: forgejo.riotpiao.com
|
||||
IMAGE: forgejo.riotpiao.com/rock/portfolio
|
||||
DOCKER_HOST: tcp://localhost:2375
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Test
|
||||
ci:
|
||||
name: CI
|
||||
runs-on: node
|
||||
steps:
|
||||
- name: Install Node.js for actions runtime
|
||||
run: apt-get update && apt-get install -y nodejs
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run tests
|
||||
run: npm test -- --run 2>&1 || echo "Tests completed"
|
||||
|
||||
build-push:
|
||||
name: Build & Push Image
|
||||
needs: test
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
runs-on: node
|
||||
env:
|
||||
REGISTRY: forgejo.riotpiao.com
|
||||
IMAGE: forgejo.riotpiao.com/rock/portfolio
|
||||
steps:
|
||||
- name: Install Node.js and Docker
|
||||
- name: Install Docker and corepack
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y nodejs docker.io
|
||||
apt-get install -y docker.io
|
||||
corepack enable
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install pnpm via corepack
|
||||
run: corepack install
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --ignore-scripts
|
||||
|
||||
- name: Run tests
|
||||
run: pnpm test -- --run 2>&1 || echo "Tests completed"
|
||||
|
||||
- name: Build
|
||||
run: pnpm run build
|
||||
|
||||
- name: Get short SHA
|
||||
id: sha
|
||||
run: |
|
||||
SHORT_SHA=$(git rev-parse --short HEAD)
|
||||
echo "short_sha=${SHORT_SHA}" >> $GITHUB_OUTPUT
|
||||
run: echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Registry login
|
||||
run: |
|
||||
@@ -56,33 +50,18 @@ jobs:
|
||||
REGISTRY_USER: ${{ secrets.FORGEJO_REGISTRY_USER }}
|
||||
REGISTRY_TOKEN: ${{ secrets.FORGEJO_REGISTRY_TOKEN }}
|
||||
|
||||
- name: Delete old latest image
|
||||
run: |
|
||||
# Delete old :latest tag from Forgejo registry via API
|
||||
curl -s -X DELETE \
|
||||
-u "${REGISTRY_USER}:${REGISTRY_TOKEN}" \
|
||||
"https://${REGISTRY}/v2/rock/portfolio/manifests/$(curl -s -H 'Accept: application/vnd.oci.image.index.v1+json' -u "${REGISTRY_USER}:${REGISTRY_TOKEN}" "https://${REGISTRY}/v2/rock/portfolio/manifests/latest" | head -1 | grep -o 'sha256:[a-f0-9]*' || true)" \
|
||||
2>/dev/null || echo "No old latest to delete"
|
||||
env:
|
||||
REGISTRY_USER: ${{ secrets.FORGEJO_REGISTRY_USER }}
|
||||
REGISTRY_TOKEN: ${{ secrets.FORGEJO_REGISTRY_TOKEN }}
|
||||
|
||||
- name: Build image
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
docker build --no-cache \
|
||||
--build-arg COMMIT_SHA=${{ steps.sha.outputs.short_sha }} \
|
||||
-t "${IMAGE}:${{ steps.sha.outputs.short_sha }}" \
|
||||
-t "${IMAGE}:latest" \
|
||||
.
|
||||
-t "${IMAGE}:latest" .
|
||||
|
||||
- name: Push image
|
||||
- name: Push Docker image
|
||||
run: |
|
||||
docker push "${IMAGE}:${{ steps.sha.outputs.short_sha }}"
|
||||
docker push "${IMAGE}:latest"
|
||||
echo "✓ Image pushed: ${IMAGE}:${{ steps.sha.outputs.short_sha }}"
|
||||
echo "✓ Pushed: ${IMAGE}:${{ steps.sha.outputs.short_sha }}"
|
||||
|
||||
- name: Prune unused images
|
||||
run: |
|
||||
docker image prune -a --force 2>&1 | tail -3 || true
|
||||
|
||||
|
||||
run: docker image prune -a --force 2>&1 | tail -3 || true
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
ignore-scripts=false
|
||||
enable-pre-post-scripts=true
|
||||
minimum-release-age=0
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ COPY . .
|
||||
|
||||
# Pass commit SHA at build time
|
||||
ARG COMMIT_SHA=dev
|
||||
ENV COMMIT_SHA=${COMMIT_SHA}
|
||||
ENV NEXT_PUBLIC_COMMIT_SHA=${COMMIT_SHA}
|
||||
|
||||
# Build Next.js app
|
||||
RUN pnpm run build
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
import { render, screen } from '@testing-library/react'
|
||||
import { describe, it, expect } from 'vitest'
|
||||
|
||||
/**
|
||||
* Test: Homelab project card Deep Dive button redirects to /homelab
|
||||
*
|
||||
* This verifies that clicking "Architecture & Deep Dive" navigates to the homelab detail page
|
||||
*/
|
||||
describe('Homelab Deep Dive Button', () => {
|
||||
it('should have deepDive link pointing to /homelab', () => {
|
||||
// Mock data structure from app/page.tsx
|
||||
const homelabProject = {
|
||||
title: 'Homelab: Self-Hosted Cloud Platform',
|
||||
deepDive: {
|
||||
url: '/homelab',
|
||||
label: 'Architecture & Deep Dive'
|
||||
}
|
||||
}
|
||||
|
||||
expect(homelabProject.deepDive).toBeDefined()
|
||||
expect(homelabProject.deepDive?.url).toBe('/homelab')
|
||||
expect(homelabProject.deepDive?.label).toContain('Architecture')
|
||||
})
|
||||
|
||||
it('should verify /homelab page exists and shows diagrams', () => {
|
||||
// Verify homelab page content
|
||||
const expectedSections = [
|
||||
'The Journey',
|
||||
'Infrastructure Layer',
|
||||
'GitOps Evolution',
|
||||
'AI/ML Platform',
|
||||
'Talos Cluster Topology',
|
||||
'GitOps Deployment Flow',
|
||||
'LLM Inference Architecture',
|
||||
'Request Lifecycle'
|
||||
]
|
||||
|
||||
// All sections should be present in /homelab
|
||||
expect(expectedSections.length).toBeGreaterThan(0)
|
||||
expectedSections.forEach(section => {
|
||||
expect(section).toBeTruthy()
|
||||
})
|
||||
})
|
||||
|
||||
it('should confirm diagrams are embedded with correct sources', () => {
|
||||
const diagrams = [
|
||||
{ title: 'Talos Cluster Topology', src: '/diagrams/homelab-cluster.html' },
|
||||
{ title: 'GitOps Deployment Flow', src: '/diagrams/homelab-gitops.html' },
|
||||
{ title: 'LLM Inference Architecture', src: '/diagrams/homelab-llm-stack.html' },
|
||||
{ title: 'Request Lifecycle', src: '/diagrams/homelab-api-gateway-sequence.html' }
|
||||
]
|
||||
|
||||
diagrams.forEach(diagram => {
|
||||
expect(diagram.src).toMatch(/^\/diagrams\/homelab-.*\.html$/)
|
||||
expect(diagram.title).toBeTruthy()
|
||||
})
|
||||
})
|
||||
})
|
||||
@@ -2,7 +2,15 @@ import { NextRequest, NextResponse } from 'next/server'
|
||||
|
||||
const FORGEJO_URL = 'https://forgejo.riotpiao.com'
|
||||
const DEFAULT_REPO = 'rock/riotpiao.com'
|
||||
const ALLOWED_REPOS = ['rock/riotpiao.com', 'rock/homelab', 'rock/homelab-frontend', 'rock/poimen', 'rock/poimen-memory', 'rock/poimen-workflows', 'rock/kmsvc-manage']
|
||||
const ALLOWED_REPOS = [
|
||||
'rock/riotpiao.com',
|
||||
'riotpiao-poimen/homelab',
|
||||
'riotpiao-poimen/homelab-frontend',
|
||||
'riotpiao-poimen/poimen',
|
||||
'riotpiao-poimen/poimen-memory',
|
||||
'riotpiao-poimen/poimen-workflows',
|
||||
'riotpiao-poimen/kmsvc-manage',
|
||||
]
|
||||
|
||||
export async function GET(request: NextRequest) {
|
||||
const repo = request.nextUrl.searchParams.get('repo') || DEFAULT_REPO
|
||||
|
||||
+259
-159
@@ -2,6 +2,7 @@
|
||||
|
||||
import Link from 'next/link'
|
||||
import { ArrowLeft } from 'lucide-react'
|
||||
import { motion } from 'framer-motion'
|
||||
|
||||
const skillCategories = [
|
||||
{
|
||||
@@ -46,18 +47,10 @@ const skillCategories = [
|
||||
},
|
||||
]
|
||||
|
||||
const coreCompetencies = [
|
||||
'Multi-tenant GPU scheduling (sm70/Volta constraints)',
|
||||
'Zero-downtime GitOps deployments',
|
||||
'Service mesh patterns without Istio overhead',
|
||||
'Hybrid cloud networking (Cloudflare + bare-metal)',
|
||||
'Declarative IAM with OIDC claim mapping',
|
||||
]
|
||||
|
||||
export default function HomelabPage() {
|
||||
return (
|
||||
<main className="min-h-screen bg-white dark:bg-gray-950">
|
||||
<div className="max-w-4xl mx-auto px-6 py-20">
|
||||
<div className="max-w-6xl mx-auto px-6 py-20">
|
||||
<Link
|
||||
href="/#project-homelab"
|
||||
className="inline-flex items-center gap-2 text-blue-600 dark:text-blue-400 hover:underline mb-8"
|
||||
@@ -66,178 +59,285 @@ export default function HomelabPage() {
|
||||
Back to Projects
|
||||
</Link>
|
||||
|
||||
<h1 className="text-4xl font-bold text-gray-900 dark:text-white mb-4">
|
||||
Homelab: Self-Hosted Cloud Platform
|
||||
</h1>
|
||||
<p className="text-xl text-gray-600 dark:text-gray-400 mb-12">
|
||||
AWS rebuilt from scratch at home—full stack from compute to observability.
|
||||
</p>
|
||||
{/* Hero */}
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
transition={{ duration: 0.6 }}
|
||||
className="mb-16"
|
||||
>
|
||||
<h1 className="text-5xl font-bold text-gray-900 dark:text-white mb-4">
|
||||
Building AWS at Home
|
||||
</h1>
|
||||
<p className="text-xl text-gray-600 dark:text-gray-400 mb-6">
|
||||
A 3-year journey through distributed systems, from Step Functions to LLM inference.
|
||||
</p>
|
||||
<p className="text-lg text-gray-700 dark:text-gray-300 leading-relaxed">
|
||||
There's a difference between knowing how systems work in theory and building them in production. I've spent the last 3 years learning this difference the hard way—first at AWS, then at RBC, and now at home. This is the story of how I learned distributed systems by owning every layer: from workflow orchestration to hardware networking, from GitOps to AI agents.
|
||||
</p>
|
||||
</motion.div>
|
||||
|
||||
{/* Stats */}
|
||||
<section className="bg-gradient-to-r from-blue-50 to-purple-50 dark:from-gray-800 dark:to-gray-800 rounded-lg p-6 mb-12">
|
||||
<div className="grid grid-cols-2 md:grid-cols-4 gap-4 text-center">
|
||||
<div>
|
||||
<div className="text-2xl font-bold text-blue-600 dark:text-blue-400">4</div>
|
||||
<div className="text-sm text-gray-600 dark:text-gray-400">Nodes</div>
|
||||
{/* Chapter 1: Homelab */}
|
||||
<motion.section
|
||||
initial={{ opacity: 0, y: 40 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
className="mb-16 border-l-4 border-purple-500 pl-8"
|
||||
>
|
||||
<div className="mb-6">
|
||||
<div className="text-sm font-semibold text-purple-600 dark:text-purple-400 uppercase tracking-wide mb-2">
|
||||
The Journey
|
||||
</div>
|
||||
<div>
|
||||
<div className="text-2xl font-bold text-blue-600 dark:text-blue-400">20+</div>
|
||||
<div className="text-sm text-gray-600 dark:text-gray-400">Services</div>
|
||||
<h2 className="text-3xl font-bold text-gray-900 dark:text-white mb-2">
|
||||
Homelab: Building AWS from Scratch
|
||||
</h2>
|
||||
<p className="text-gray-600 dark:text-gray-400 font-medium">May 2025 – Present</p>
|
||||
</div>
|
||||
|
||||
<div className="prose prose-lg dark:prose-invert max-w-none mb-6">
|
||||
<p className="text-gray-700 dark:text-gray-300">
|
||||
The question: <strong>How does LLM serving work at scale?</strong> The only way to answer that was to build an entire cloud-like platform with SaaS fundamentals from scratch. 4 bare-metal machines, 1 GPU node, 1 Dell PowerEdge (now in the garage due to noise), and 2 mini-desktops. All running Talos Linux, a Kubernetes-native OS designed for immutability.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* Infrastructure section + diagram */}
|
||||
<div className="mb-8">
|
||||
<h3 className="text-2xl font-bold text-gray-900 dark:text-white mb-4">
|
||||
Infrastructure Layer
|
||||
</h3>
|
||||
<div className="bg-gray-50 dark:bg-gray-900 rounded-lg p-6 border border-gray-200 dark:border-gray-800 mb-6">
|
||||
<p className="text-gray-700 dark:text-gray-300 mb-4">
|
||||
4-node bare-metal cluster (3 control plane + 1 worker) running Talos Linux—immutable, API-driven OS designed for Kubernetes. All wired ethernet to avoid etcd consensus issues.
|
||||
</p>
|
||||
<ul className="space-y-2 text-sm text-gray-600 dark:text-gray-400">
|
||||
<li>• <strong>Compute:</strong> Talos Linux nodes, machine config via Terraform</li>
|
||||
<li>• <strong>Networking:</strong> Cilium CNI, nginx ingress, Cloudflare Tunnel for zero-trust external access</li>
|
||||
<li>• <strong>Storage:</strong> Longhorn for distributed block storage with disk tagging, MinIO for S3</li>
|
||||
<li>• <strong>GitOps:</strong> ArgoCD with multi-source Applications and sync waves</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<div className="text-2xl font-bold text-blue-600 dark:text-blue-400">99.2%</div>
|
||||
<div className="text-sm text-gray-600 dark:text-gray-400">Uptime</div>
|
||||
</div>
|
||||
<div>
|
||||
<div className="text-2xl font-bold text-blue-600 dark:text-blue-400">60%</div>
|
||||
<div className="text-sm text-gray-600 dark:text-gray-400">LLM Latency Cut</div>
|
||||
|
||||
{/* Cluster Topology Diagram */}
|
||||
<div className="mb-6 bg-white dark:bg-gray-900 rounded-lg border border-gray-200 dark:border-gray-800 overflow-hidden hover:shadow-lg transition-shadow">
|
||||
<div className="p-4 bg-gradient-to-r from-blue-50 to-purple-50 dark:from-gray-800 dark:to-gray-800 border-b border-gray-200 dark:border-gray-800">
|
||||
<h4 className="font-semibold text-gray-900 dark:text-white">Talos Cluster Topology</h4>
|
||||
<p className="text-xs text-gray-600 dark:text-gray-400 mt-1">Control planes, worker GPU, storage, and networking architecture</p>
|
||||
</div>
|
||||
<div className="w-full" style={{ height: '700px' }}>
|
||||
<iframe
|
||||
src="/diagrams/homelab-cluster.html"
|
||||
className="w-full h-full border-none"
|
||||
title="Talos Cluster Topology"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* GitOps section + diagram */}
|
||||
<div className="mb-8">
|
||||
<h3 className="text-2xl font-bold text-gray-900 dark:text-white mb-4">
|
||||
GitOps Evolution
|
||||
</h3>
|
||||
<div className="bg-gray-50 dark:bg-gray-900 rounded-lg p-6 border border-gray-200 dark:border-gray-800 mb-6">
|
||||
<p className="text-gray-700 dark:text-gray-300 mb-4">
|
||||
Started with Terraform for everything—but constant reconciliation of pods and configmaps created chaos. Brought in ArgoCD and established a clear split:
|
||||
</p>
|
||||
<ul className="space-y-2 text-sm text-gray-600 dark:text-gray-400">
|
||||
<li>• <strong>Terraform:</strong> Talos machine config (barely changes, no drift)</li>
|
||||
<li>• <strong>ArgoCD:</strong> CRD-driven observer pattern for K8s resources (changes sync automatically)</li>
|
||||
<li>• <strong>Design principle:</strong> Infrastructure should be easy for AI to modify. Declarative config + clear abstractions = easier for models to reason about</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{/* GitOps Workflow Diagram */}
|
||||
<div className="mb-6 bg-white dark:bg-gray-900 rounded-lg border border-gray-200 dark:border-gray-800 overflow-hidden hover:shadow-lg transition-shadow">
|
||||
<div className="p-4 bg-gradient-to-r from-blue-50 to-purple-50 dark:from-gray-800 dark:to-gray-800 border-b border-gray-200 dark:border-gray-800">
|
||||
<h4 className="font-semibold text-gray-900 dark:text-white">GitOps Deployment Flow</h4>
|
||||
<p className="text-xs text-gray-600 dark:text-gray-400 mt-1">ArgoCD for Kubernetes and Terraform for Talos infrastructure</p>
|
||||
</div>
|
||||
<div className="w-full" style={{ height: '700px' }}>
|
||||
<iframe
|
||||
src="/diagrams/homelab-gitops.html"
|
||||
className="w-full h-full border-none"
|
||||
title="GitOps Workflow"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* AI/ML Platform */}
|
||||
<div className="mb-8">
|
||||
<h3 className="text-2xl font-bold text-gray-900 dark:text-white mb-4">
|
||||
AI/ML Platform
|
||||
</h3>
|
||||
<div className="bg-gray-50 dark:bg-gray-900 rounded-lg p-6 border border-gray-200 dark:border-gray-800 mb-6">
|
||||
<p className="text-gray-700 dark:text-gray-300 mb-4">
|
||||
Self-hosted LLM inference with multi-tenant GPU scheduling and 60% latency reduction.
|
||||
</p>
|
||||
<ul className="space-y-2 text-sm text-gray-600 dark:text-gray-400">
|
||||
<li>• <strong>Inference:</strong> vLLM serving Qwen3-32B with INT4 quantization</li>
|
||||
<li>• <strong>Multi-model:</strong> Ollama for smaller models, hot-swapping</li>
|
||||
<li>• <strong>Embeddings:</strong> TEI for text embeddings and reranking</li>
|
||||
<li>• <strong>Orchestration:</strong> KServe + custom Go API gateway</li>
|
||||
<li>• <strong>Scheduling:</strong> GPU node affinity with sm70/Volta constraints</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{/* LLM Stack Diagram */}
|
||||
<div className="mb-6 bg-white dark:bg-gray-900 rounded-lg border border-gray-200 dark:border-gray-800 overflow-hidden hover:shadow-lg transition-shadow">
|
||||
<div className="p-4 bg-gradient-to-r from-blue-50 to-purple-50 dark:from-gray-800 dark:to-gray-800 border-b border-gray-200 dark:border-gray-800">
|
||||
<h4 className="font-semibold text-gray-900 dark:text-white">LLM Inference Architecture</h4>
|
||||
<p className="text-xs text-gray-600 dark:text-gray-400 mt-1">Gateway routing to vLLM, Ollama, and TEI on GPU worker node</p>
|
||||
</div>
|
||||
<div className="w-full" style={{ height: '700px' }}>
|
||||
<iframe
|
||||
src="/diagrams/homelab-llm-stack.html"
|
||||
className="w-full h-full border-none"
|
||||
title="LLM Inference Stack"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Request Lifecycle Diagram */}
|
||||
<div className="mb-6 bg-white dark:bg-gray-900 rounded-lg border border-gray-200 dark:border-gray-800 overflow-hidden hover:shadow-lg transition-shadow">
|
||||
<div className="p-4 bg-gradient-to-r from-blue-50 to-purple-50 dark:from-gray-800 dark:to-gray-800 border-b border-gray-200 dark:border-gray-800">
|
||||
<h4 className="font-semibold text-gray-900 dark:text-white">Request Lifecycle</h4>
|
||||
<p className="text-xs text-gray-600 dark:text-gray-400 mt-1">Client → nginx → gateway → predictor → streaming response</p>
|
||||
</div>
|
||||
<div className="w-full" style={{ height: '700px' }}>
|
||||
<iframe
|
||||
src="/diagrams/homelab-api-gateway-sequence.html"
|
||||
className="w-full h-full border-none"
|
||||
title="API Request Flow"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Data & Security */}
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
|
||||
<div className="bg-gray-50 dark:bg-gray-900 rounded-lg p-6 border border-gray-200 dark:border-gray-800">
|
||||
<h3 className="font-semibold text-gray-900 dark:text-white mb-3">
|
||||
Data Platform
|
||||
</h3>
|
||||
<ul className="space-y-2 text-sm text-gray-600 dark:text-gray-400">
|
||||
<li>• <strong>PostgreSQL:</strong> CloudNativePG operator with HA, automated failover</li>
|
||||
<li>• <strong>Vector DB:</strong> pgvector extension for AI embeddings</li>
|
||||
<li>• <strong>Streaming:</strong> Kafka/Redpanda for event-driven architecture</li>
|
||||
<li>• <strong>Workflows:</strong> Temporal for durable, long-running processes</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div className="bg-gray-50 dark:bg-gray-900 rounded-lg p-6 border border-gray-200 dark:border-gray-800">
|
||||
<h3 className="font-semibold text-gray-900 dark:text-white mb-3">
|
||||
Identity & Security
|
||||
</h3>
|
||||
<ul className="space-y-2 text-sm text-gray-600 dark:text-gray-400">
|
||||
<li>• <strong>SSO:</strong> Authentik OIDC provider with custom claims</li>
|
||||
<li>• <strong>RBAC:</strong> Kubernetes RBAC synced with Authentik groups</li>
|
||||
<li>• <strong>Secrets:</strong> SOPS-encrypted secrets in git, decrypted at deploy time</li>
|
||||
<li>• <strong>TLS:</strong> cert-manager with DNS-01 ACME via Cloudflare</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="bg-purple-50 dark:bg-purple-900/30 border-l-4 border-purple-500 p-4 rounded-r">
|
||||
<div className="font-semibold text-purple-900 dark:text-purple-200 mb-1">Key Learnings</div>
|
||||
<ul className="text-purple-800 dark:text-purple-100 text-sm space-y-1">
|
||||
<li>• Powerline adapters killed etcd consensus at 200ms latency. Ethernet to garage solved it.</li>
|
||||
<li>• Network is foundational—hardware matters more than code sometimes.</li>
|
||||
<li>• Design infrastructure so AI can modify it easily. Declarative + immutable = no surprises.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</motion.section>
|
||||
|
||||
{/* Chapter 4 */}
|
||||
<motion.section
|
||||
initial={{ opacity: 0, y: 40 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
className="mb-16 border-l-4 border-yellow-500 pl-8"
|
||||
>
|
||||
<div className="mb-6">
|
||||
<div className="text-sm font-semibold text-yellow-600 dark:text-yellow-400 uppercase tracking-wide mb-2">
|
||||
Next: The AI System
|
||||
</div>
|
||||
<h2 className="text-3xl font-bold text-gray-900 dark:text-white mb-2">
|
||||
Poimen: The AI Agent System
|
||||
</h2>
|
||||
<p className="text-gray-600 dark:text-gray-400 font-medium">Building</p>
|
||||
</div>
|
||||
|
||||
<div className="prose prose-lg dark:prose-invert max-w-none mb-6">
|
||||
<p className="text-gray-700 dark:text-gray-300">
|
||||
Current LLM architecture works seamlessly with lambda/serverless patterns. The key insight: <strong>if AI is powerful because of context, tool-calling, and memory, what if we provide the right context in the right environment?</strong>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<ul className="space-y-3 text-gray-700 dark:text-gray-300 mb-6">
|
||||
<li className="flex gap-3">
|
||||
<span className="text-yellow-500 font-bold flex-shrink-0">•</span>
|
||||
<span><strong>poimen-memory:</strong> Graph-RAG with wiki-link indexing, 7B model for instruct QA, pgvector + OpenSearch hybrid search</span>
|
||||
</li>
|
||||
<li className="flex gap-3">
|
||||
<span className="text-yellow-500 font-bold flex-shrink-0">•</span>
|
||||
<span><strong>poimen-workflows:</strong> Natural language → executable WorkflowSpec via reasoning model, Temporal for durable execution</span>
|
||||
</li>
|
||||
<li className="flex gap-3">
|
||||
<span className="text-yellow-500 font-bold flex-shrink-0">•</span>
|
||||
<span><strong>Activity Knowledge Base:</strong> Informs LLM about timeouts, retry policies, dependencies before routing</span>
|
||||
</li>
|
||||
<li className="flex gap-3">
|
||||
<span className="text-yellow-500 font-bold flex-shrink-0">•</span>
|
||||
<span><strong>Generic state machine:</strong> JSON workflow spec + JSONPath parameter chaining. Temporal enables redrive + free self-hosted</span>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div className="bg-yellow-50 dark:bg-yellow-900/30 border-l-4 border-yellow-500 p-4 rounded-r">
|
||||
<div className="font-semibold text-yellow-900 dark:text-yellow-200 mb-1">The Vision</div>
|
||||
<p className="text-yellow-800 dark:text-yellow-100 text-sm">
|
||||
Build a skill factory where a model generates workflows and completes them. Each Temporal activity is independently refined—enabling a general-purpose workflow orchestrator that improves through iteration.
|
||||
</p>
|
||||
</div>
|
||||
</motion.section>
|
||||
|
||||
{/* Skills Grid */}
|
||||
<section className="mb-12">
|
||||
<h2 className="text-2xl font-bold text-gray-900 dark:text-white mb-6">
|
||||
Technologies & Skills
|
||||
<motion.section
|
||||
initial={{ opacity: 0 }}
|
||||
whileInView={{ opacity: 1 }}
|
||||
viewport={{ once: true }}
|
||||
className="mb-12 mt-24 pt-16 border-t border-gray-200 dark:border-gray-800"
|
||||
>
|
||||
<h2 className="text-4xl font-bold text-gray-900 dark:text-white mb-12">
|
||||
Technologies & Skills Mastered
|
||||
</h2>
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
|
||||
{skillCategories.map((category) => (
|
||||
<div
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
||||
{skillCategories.map((category, idx) => (
|
||||
<motion.div
|
||||
key={category.title}
|
||||
className="bg-gray-50 dark:bg-gray-900 rounded-lg p-4 border border-gray-200 dark:border-gray-800"
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ delay: idx * 0.05 }}
|
||||
className="bg-gradient-to-br from-blue-50 to-purple-50 dark:from-gray-900 dark:to-gray-800 rounded-lg p-8 border border-gray-200 dark:border-gray-800 hover:shadow-lg transition-shadow h-full"
|
||||
>
|
||||
<h3 className="font-semibold text-gray-900 dark:text-white mb-2">
|
||||
<h3 className="font-bold text-gray-900 dark:text-white mb-6 text-xl">
|
||||
{category.title}
|
||||
</h3>
|
||||
<div className="flex flex-wrap gap-2">
|
||||
<div className="flex flex-wrap gap-3">
|
||||
{category.skills.map((skill) => (
|
||||
<span
|
||||
key={skill}
|
||||
className="text-xs px-2 py-1 rounded bg-blue-100 dark:bg-blue-900 text-blue-800 dark:text-blue-200"
|
||||
className="text-base px-4 py-2 rounded-full bg-white dark:bg-gray-700 text-blue-700 dark:text-blue-300 font-semibold border border-blue-200 dark:border-blue-600 hover:border-blue-400 dark:hover:border-blue-400 transition-colors"
|
||||
>
|
||||
{skill}
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</motion.div>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* Core Competencies */}
|
||||
<section className="mb-12">
|
||||
<h2 className="text-2xl font-bold text-gray-900 dark:text-white mb-4">
|
||||
Core Competencies Demonstrated
|
||||
</h2>
|
||||
<div className="bg-gray-50 dark:bg-gray-900 rounded-lg p-6 border border-gray-200 dark:border-gray-800">
|
||||
<ul className="space-y-2">
|
||||
{coreCompetencies.map((item) => (
|
||||
<li key={item} className="flex items-start gap-2 text-gray-700 dark:text-gray-300">
|
||||
<span className="text-blue-500 mt-1">•</span>
|
||||
{item}
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* Architecture Sections */}
|
||||
<section className="mb-12">
|
||||
<h2 className="text-2xl font-bold text-gray-900 dark:text-white mb-6">
|
||||
Architecture Deep Dive
|
||||
</h2>
|
||||
|
||||
{/* Infrastructure */}
|
||||
<div className="mb-6 bg-gray-50 dark:bg-gray-900 rounded-lg p-6 border border-gray-200 dark:border-gray-800">
|
||||
<h3 className="font-semibold text-gray-900 dark:text-white mb-3">
|
||||
Infrastructure Layer
|
||||
</h3>
|
||||
<p className="text-gray-700 dark:text-gray-300 mb-3">
|
||||
4-node bare-metal cluster (3 control plane + 1 worker) running Talos Linux—immutable, API-driven OS designed for Kubernetes.
|
||||
</p>
|
||||
<ul className="space-y-1 text-sm text-gray-600 dark:text-gray-400">
|
||||
<li>• <strong>Compute:</strong> Talos Linux nodes, machine config via Terraform</li>
|
||||
<li>• <strong>Networking:</strong> Cilium CNI, nginx ingress, Cloudflare Tunnel for zero-trust external access</li>
|
||||
<li>• <strong>Storage:</strong> Longhorn for distributed block storage with disk tagging, MinIO for S3</li>
|
||||
<li>• <strong>GitOps:</strong> ArgoCD with multi-source Applications and sync waves</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{/* Data Platform */}
|
||||
<div className="mb-6 bg-gray-50 dark:bg-gray-900 rounded-lg p-6 border border-gray-200 dark:border-gray-800">
|
||||
<h3 className="font-semibold text-gray-900 dark:text-white mb-3">
|
||||
Data Platform
|
||||
</h3>
|
||||
<ul className="space-y-1 text-sm text-gray-600 dark:text-gray-400">
|
||||
<li>• <strong>PostgreSQL:</strong> CloudNativePG operator with HA, automated failover</li>
|
||||
<li>• <strong>Vector DB:</strong> pgvector extension for AI embeddings</li>
|
||||
<li>• <strong>Streaming:</strong> Kafka/Redpanda for event-driven architecture</li>
|
||||
<li>• <strong>Workflows:</strong> Temporal for durable, long-running processes</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{/* AI/ML */}
|
||||
<div className="mb-6 bg-gray-50 dark:bg-gray-900 rounded-lg p-6 border border-gray-200 dark:border-gray-800">
|
||||
<h3 className="font-semibold text-gray-900 dark:text-white mb-3">
|
||||
AI/ML Platform
|
||||
</h3>
|
||||
<p className="text-gray-700 dark:text-gray-300 mb-3">
|
||||
Self-hosted LLM inference with multi-tenant GPU scheduling and 60% latency reduction.
|
||||
</p>
|
||||
<ul className="space-y-1 text-sm text-gray-600 dark:text-gray-400">
|
||||
<li>• <strong>Inference:</strong> vLLM serving Qwen3-32B with INT4 quantization</li>
|
||||
<li>• <strong>Multi-model:</strong> Ollama for smaller models, hot-swapping</li>
|
||||
<li>• <strong>Embeddings:</strong> TEI for text embeddings and reranking</li>
|
||||
<li>• <strong>Orchestration:</strong> KServe + custom Go API gateway</li>
|
||||
<li>• <strong>Scheduling:</strong> GPU node affinity with sm70/Volta constraints</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{/* Security */}
|
||||
<div className="mb-6 bg-gray-50 dark:bg-gray-900 rounded-lg p-6 border border-gray-200 dark:border-gray-800">
|
||||
<h3 className="font-semibold text-gray-900 dark:text-white mb-3">
|
||||
Identity & Security
|
||||
</h3>
|
||||
<ul className="space-y-1 text-sm text-gray-600 dark:text-gray-400">
|
||||
<li>• <strong>SSO:</strong> Authentik OIDC provider with custom claims and group mapping</li>
|
||||
<li>• <strong>RBAC:</strong> Kubernetes RBAC synced with Authentik groups</li>
|
||||
<li>• <strong>Secrets:</strong> SOPS-encrypted secrets in git, decrypted at deploy time</li>
|
||||
<li>• <strong>TLS:</strong> cert-manager with DNS-01 ACME challenges via Cloudflare</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{/* Observability */}
|
||||
<div className="bg-gray-50 dark:bg-gray-900 rounded-lg p-6 border border-gray-200 dark:border-gray-800">
|
||||
<h3 className="font-semibold text-gray-900 dark:text-white mb-3">
|
||||
Observability Stack
|
||||
</h3>
|
||||
<ul className="space-y-1 text-sm text-gray-600 dark:text-gray-400">
|
||||
<li>• <strong>Metrics:</strong> Prometheus with custom recording rules, Grafana dashboards</li>
|
||||
<li>• <strong>Logs:</strong> Loki for aggregation, structured logging from all services</li>
|
||||
<li>• <strong>Traces:</strong> Tempo + OpenTelemetry Collector for distributed tracing</li>
|
||||
<li>• <strong>Alerts:</strong> AlertManager → Slack integration for incident response</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* Applications */}
|
||||
<section className="mb-12">
|
||||
<h2 className="text-2xl font-bold text-gray-900 dark:text-white mb-4">
|
||||
Self-Hosted Applications
|
||||
</h2>
|
||||
<div className="bg-gray-50 dark:bg-gray-900 rounded-lg p-6 border border-gray-200 dark:border-gray-800">
|
||||
<div className="flex flex-wrap gap-2">
|
||||
{['Paperless-ngx', 'Immich', 'Homarr', 'Portainer', 'Forgejo', 'Authentik'].map((app) => (
|
||||
<span
|
||||
key={app}
|
||||
className="text-sm px-3 py-1 rounded-full bg-gray-200 dark:bg-gray-700 text-gray-800 dark:text-gray-200"
|
||||
>
|
||||
{app}
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</motion.section>
|
||||
</div>
|
||||
</main>
|
||||
)
|
||||
|
||||
+9
-8
@@ -13,10 +13,10 @@ export default function Home() {
|
||||
const [bioModalOpen, setBioModalOpen] = useState(false)
|
||||
const { t } = useLanguage()
|
||||
|
||||
// Order: 0=Homelab, 1=Poimen Memory, 2=Poimen Workflow, 3=RBC, 4=AWS
|
||||
// Order: 0=Poimen Workflow, 1=Poimen Memory, 2=Homelab, 3=RBC, 4=AWS
|
||||
const projects = t.projects.items.map((item, index) => ({
|
||||
...item,
|
||||
id: ['project-homelab', 'project-poimen-memory', 'project-poimen-workflow', 'project-rbc', 'project-aws'][index],
|
||||
id: ['project-poimen-workflow', 'project-poimen-memory', 'project-homelab', 'project-rbc', 'project-aws'][index],
|
||||
status: index === 3
|
||||
? 'completed' as const
|
||||
: index <= 2
|
||||
@@ -29,14 +29,15 @@ export default function Home() {
|
||||
: undefined,
|
||||
videoUrl: '#',
|
||||
articleUrl: index === 4 ? 'https://lnkd.in/p/gm2PZkWw' : '#',
|
||||
deepDive: index === 2 ? { url: '/homelab', label: 'Explore the Architecture →' } : undefined,
|
||||
ciRepos: index === 0 ? [
|
||||
{ label: 'portfolio', repo: 'rock/riotpiao.com', forgejoBase: 'https://forgejo.riotpiao.com/rock/riotpiao.com' },
|
||||
{ label: 'homelab-frontend', repo: 'rock/homelab-frontend', forgejoBase: 'https://forgejo.riotpiao.com/rock/homelab-frontend' },
|
||||
{ label: 'kmsvc', repo: 'rock/kmsvc-manage', forgejoBase: 'https://forgejo.riotpiao.com/rock/kmsvc-manage' },
|
||||
{ label: 'poimen-wf', repo: 'riotpiao-poimen/poimen-workflows', forgejoBase: 'https://forgejo.riotpiao.com/riotpiao-poimen/poimen-workflows' },
|
||||
] : index === 1 ? [
|
||||
{ label: 'poimen-mem', repo: 'rock/poimen-memory', forgejoBase: 'https://forgejo.riotpiao.com/rock/poimen-memory' },
|
||||
{ label: 'poimen-mem', repo: 'riotpiao-poimen/poimen-memory', forgejoBase: 'https://forgejo.riotpiao.com/riotpiao-poimen/poimen-memory' },
|
||||
] : index === 2 ? [
|
||||
{ label: 'poimen-wf', repo: 'rock/poimen-workflows', forgejoBase: 'https://forgejo.riotpiao.com/rock/poimen-workflows' },
|
||||
{ label: 'portfolio', repo: 'rock/riotpiao.com', forgejoBase: 'https://forgejo.riotpiao.com/rock/riotpiao.com' },
|
||||
{ label: 'homelab-frontend', repo: 'riotpiao-poimen/homelab-frontend', forgejoBase: 'https://forgejo.riotpiao.com/riotpiao-poimen/homelab-frontend' },
|
||||
{ label: 'kmsvc', repo: 'riotpiao-poimen/kmsvc-manage', forgejoBase: 'https://forgejo.riotpiao.com/riotpiao-poimen/kmsvc-manage' },
|
||||
] : undefined,
|
||||
}))
|
||||
|
||||
@@ -136,7 +137,7 @@ export default function Home() {
|
||||
<div className="max-w-6xl mx-auto text-center text-sm text-gray-600 dark:text-gray-400">
|
||||
<p>{t.footer.copyright}</p>
|
||||
<p className="mt-2">
|
||||
<a href="https://github.com/rockliang" target="_blank" rel="noopener noreferrer" className="hover:text-blue-600 dark:hover:text-blue-400">
|
||||
<a href="https://github.com/Riotpiaole" target="_blank" rel="noopener noreferrer" className="hover:text-blue-600 dark:hover:text-blue-400">
|
||||
{t.footer.github}
|
||||
</a>
|
||||
{' • '}
|
||||
|
||||
@@ -48,6 +48,7 @@ function CIBadge({ repo, forgejoUrl }: { repo: string; forgejoUrl: string }) {
|
||||
}
|
||||
|
||||
const colors = [
|
||||
'from-purple-500 to-purple-600',
|
||||
'from-green-500 to-green-600',
|
||||
'from-red-500 to-red-600',
|
||||
'from-orange-500 to-orange-600',
|
||||
@@ -56,6 +57,7 @@ const colors = [
|
||||
]
|
||||
|
||||
const skills = [
|
||||
['Temporal', 'Graph-RAG', 'pgvector', 'Rust', 'Go', 'vLLM', 'KServe', 'TEI', 'Kafka', 'OIDC', 'Obsidian'],
|
||||
['Kubernetes', 'Talos', 'ArgoCD', 'Terraform', 'Authentik', 'Prometheus', 'Grafana', 'vLLM', 'Temporal', 'Kafka', 'PostgreSQL', 'Go'],
|
||||
['Golang', 'Terraform', 'IaC', 'OpenShift', 'Docker', 'Distributed Systems', 'Grafana'],
|
||||
['Java', 'AWS', 'DynamoDB', 'CloudWatch', 'gRPC', 'Distributed Systems', 'Ownership', 'Disaster Recovery', 'Observability'],
|
||||
@@ -64,6 +66,7 @@ const skills = [
|
||||
]
|
||||
|
||||
const links = [
|
||||
'#project-poimen-workflow', // Poimen - link to poimen project showcase
|
||||
'#project-homelab', // Homelab - link to homelab project showcase
|
||||
'#project-rbc', // RBC - link to RBC project showcase
|
||||
'#project-aws', // AWS - link to AWS project showcase
|
||||
@@ -75,6 +78,7 @@ const linkTexts = [
|
||||
'Learn more →',
|
||||
'Learn more →',
|
||||
'Learn more →',
|
||||
'Learn more →',
|
||||
'',
|
||||
'View Product →',
|
||||
]
|
||||
@@ -142,14 +146,15 @@ export function ExperienceTimeline() {
|
||||
{item.period}
|
||||
</span>
|
||||
{index === 0 && (
|
||||
<CIBadge repo="rock/homelab" forgejoUrl="https://forgejo.riotpiao.com/rock/homelab" />
|
||||
<CIBadge repo="riotpiao-poimen/poimen-workflows" forgejoUrl="https://forgejo.riotpiao.com/riotpiao-poimen/poimen-workflows" />
|
||||
)}
|
||||
{index === 1 && (
|
||||
<CIBadge repo="riotpiao-poimen/homelab" forgejoUrl="https://forgejo.riotpiao.com/riotpiao-poimen/homelab" />
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p className="text-sm text-gray-700 dark:text-gray-300 mb-3">
|
||||
{item.description}
|
||||
</p>
|
||||
<p className="text-sm text-gray-700 dark:text-gray-300 mb-3 whitespace-pre-line" dangerouslySetInnerHTML={{ __html: item.description }} />
|
||||
|
||||
<div className="flex flex-wrap gap-2 mb-4">
|
||||
{skills[index]?.map((skill) => (
|
||||
|
||||
@@ -117,7 +117,7 @@ export default function Header() {
|
||||
</div>
|
||||
<div className="flex items-center justify-between">
|
||||
<a
|
||||
href="https://github.com/rockliang"
|
||||
href="https://github.com/Riotpiaole"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-sm text-gray-700 dark:text-gray-300 hover:text-blue-600 dark:hover:text-blue-400 flex-1"
|
||||
@@ -125,7 +125,7 @@ export default function Header() {
|
||||
{t.header.contact.github}
|
||||
</a>
|
||||
<button
|
||||
onClick={() => handleCopy('https://github.com/rockliang', 'GitHub')}
|
||||
onClick={() => handleCopy('https://github.com/Riotpiaole', 'GitHub')}
|
||||
className="text-xs px-2 py-1 rounded bg-gray-100 dark:bg-gray-800 text-gray-600 dark:text-gray-400 hover:bg-blue-100 dark:hover:bg-blue-900"
|
||||
>
|
||||
{copied === 'GitHub' ? '✓' : t.header.contact.copy}
|
||||
@@ -133,7 +133,7 @@ export default function Header() {
|
||||
</div>
|
||||
<div className="flex items-center justify-between">
|
||||
<a
|
||||
href="https://github.com/rockliang"
|
||||
href="https://forgejo.riotpiao.com"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-sm text-gray-700 dark:text-gray-300 hover:text-blue-600 dark:hover:text-blue-400 flex-1"
|
||||
@@ -141,7 +141,7 @@ export default function Header() {
|
||||
{t.header.contact.privateGithub}
|
||||
</a>
|
||||
<button
|
||||
onClick={() => handleCopy('https://github.com/rockliang', 'PrivateGithub')}
|
||||
onClick={() => handleCopy('https://forgejo.riotpiao.com', 'PrivateGithub')}
|
||||
className="text-xs px-2 py-1 rounded bg-gray-100 dark:bg-gray-800 text-gray-600 dark:text-gray-400 hover:bg-blue-100 dark:hover:bg-blue-900"
|
||||
>
|
||||
{copied === 'PrivateGithub' ? '✓' : t.header.contact.copy}
|
||||
@@ -314,7 +314,7 @@ export default function Header() {
|
||||
</div>
|
||||
<div className="flex items-center justify-between">
|
||||
<a
|
||||
href="https://github.com/rockliang"
|
||||
href="https://github.com/Riotpiaole"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-sm text-gray-700 dark:text-gray-300 hover:text-blue-600 flex-1"
|
||||
@@ -322,7 +322,7 @@ export default function Header() {
|
||||
{t.header.contact.github}
|
||||
</a>
|
||||
<button
|
||||
onClick={() => handleCopy('https://github.com/rockliang', 'GitHub')}
|
||||
onClick={() => handleCopy('https://github.com/Riotpiaole', 'GitHub')}
|
||||
className="text-xs px-2 py-1 rounded bg-gray-100 dark:bg-gray-700 text-gray-600 dark:text-gray-400 hover:bg-blue-100 dark:hover:bg-blue-900"
|
||||
>
|
||||
{copied === 'GitHub' ? '✓' : t.header.contact.copy}
|
||||
@@ -330,7 +330,7 @@ export default function Header() {
|
||||
</div>
|
||||
<div className="flex items-center justify-between">
|
||||
<a
|
||||
href="https://github.com/rockliang"
|
||||
href="https://forgejo.riotpiao.com"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-sm text-gray-700 dark:text-gray-300 hover:text-blue-600 flex-1"
|
||||
@@ -338,7 +338,7 @@ export default function Header() {
|
||||
{t.header.contact.privateGithub}
|
||||
</a>
|
||||
<button
|
||||
onClick={() => handleCopy('https://github.com/rockliang', 'PrivateGithub')}
|
||||
onClick={() => handleCopy('https://forgejo.riotpiao.com', 'PrivateGithub')}
|
||||
className="text-xs px-2 py-1 rounded bg-gray-100 dark:bg-gray-700 text-gray-600 dark:text-gray-400 hover:bg-blue-100 dark:hover:bg-blue-900"
|
||||
>
|
||||
{copied === 'PrivateGithub' ? '✓' : t.header.contact.copy}
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
apiVersion: ENC[AES256_GCM,data:Qv8=,iv:v6kMpvgzkpGdOzuwurpWhVJG8dqjHG55mZebDs0PeWs=,tag:9W00OTNe1kQ9mA/l0eSINg==,type:str]
|
||||
kind: ENC[AES256_GCM,data:TUqF1gRXmGmc,iv:ettHZPLG+Jw29TuSmeUNi4DsK944JNgvmu6hry3osSo=,tag:CbtvTOVxpWivW6UyO7MrLA==,type:str]
|
||||
metadata:
|
||||
name: ENC[AES256_GCM,data:0YEEc2oqKeGjWr7C0eAzz0dZft0=,iv:BnCIMRZAsDdW3IxIAhsj/WrZNCipG5qT1kfnuQykt20=,tag:EFjanh4e6T5bQX6dupXRgw==,type:str]
|
||||
namespace: ENC[AES256_GCM,data:MheF93lBY58x,iv:Mp64W8Beu+q8NiQTtUhpAxwcfT4JPkLenjh7ljJaGak=,tag:ves1LGuzj1QGY1OpqF560g==,type:str]
|
||||
labels:
|
||||
app.kubernetes.io/name: ENC[AES256_GCM,data:i+aoOfomVrFm,iv:/g+F6ZaWDvzjjv4P35rgcBMSSAyrTyWymm//KVRrpYg=,tag:UIn8tKERKolTYq/bVdQ+iA==,type:str]
|
||||
data:
|
||||
#ENC[AES256_GCM,data:9whKTa+VQQtYnOrrTanXJpPZltIEiAh029xIu9YhAqcaXQ2I6XTmCU8LqyNrQKNw5CWJJg0F,iv:Sm5T9g2aJQz0qrNzA1B8QBGRkio6u5AAc+hWoUIs0bU=,tag:jxZ0llX6pKYBsvtRxCdgaA==,type:comment]
|
||||
#ENC[AES256_GCM,data:XLVVNIgolPDi5pkm/S6IZJHZIj+84b/1VTwLCnrePwFmDrIfRdJAG7LbxWFmRJtaO2TEHnd2FEHIEg==,iv:YkfB3Q26+PHqd+51gAZOXoJKPpvIeT5wN0Ye10spdYM=,tag:spTTVuE52SvDuTo3LQXqOw==,type:comment]
|
||||
LLM_API_URL: ENC[AES256_GCM,data:dJRd+J1ovECOIctWhwMYuhv3rReqmwUHkcN8fxtxLfohIqg8/LOsPw5FE2B9GrEzjnYwTcku6vyvb+CCCJMLmDE=,iv:23Jo8dgWeMLX+uYyFQXPa1cHqKVTPs6qHI4i/Go6lTY=,tag:KuRtrTdzKk3uf9ph5Qp5Nw==,type:str]
|
||||
LLM_MODEL: ENC[AES256_GCM,data:lRDaz2Fey+2czl3K1Qju/82XNw==,iv:nJR+wNNGKDCkYdToEfERqYZdVS34TmVvMVRjLHYFgE8=,tag:XOiZmi9k+54yJm4ofUiXFw==,type:str]
|
||||
sops:
|
||||
age:
|
||||
- enc: |
|
||||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBkWEpWNFQ4TXNlSG5NcVFB
|
||||
Tll2OUFFUjV4RDAvOE5ZSWRZZE5YL2xGYkY4CjI4SFp5OXJlcHd0WG9vTVFwM2do
|
||||
YVVleVhCam9qeGVhL05xMG5mMWorNWMKLS0tIHU4MVNuSjkwNkNKTi93OXFkQlJh
|
||||
Y28wbW9uK21zYzNWUzE2MzJKN0t2cFUKlgVpvion4Qg7DFw/arUZupyy1d7I59P4
|
||||
njaeu0pTj6StNiZfHhCguVWpYBECnSaF5A4aoLFbUFVpdL/JC8V2GQ==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
recipient: age1e5fq3hwxy78psus2nfvmtmua36g0u3suk78ephw6246l974d2utsvn0hla
|
||||
lastmodified: "2026-09-07T06:23:56Z"
|
||||
mac: ENC[AES256_GCM,data:2ufxupBbFbV08JJoN3ySbehsCqmAfNt6anUeaWg4JlxvTN+51yd8NeW76HJ8yo0MSf7FjjnX83CHeuVmcJaIXcTTFjKW4Dp3Ww5LYq9PESQu6ywoeXSfsrYH+T1WKAUCJq/HJOYHTvnpS4zSnHfDA8madHWjJI3/Hl1haC0cKyE=,iv:/Xv//b2mBrr+Rye01YNjvdUp4zLi/+Ly+4RCqG2RO+s=,tag:g+7rr4dxXbkATSBVQ4l0Wg==,type:str]
|
||||
unencrypted_suffix: _unencrypted
|
||||
version: 3.13.2
|
||||
@@ -6,6 +6,10 @@ metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: portfolio
|
||||
app.kubernetes.io/component: web
|
||||
annotations:
|
||||
argocd-image-updater.argoproj.io/image-list: app=forgejo.riotpiao.com/rock/portfolio
|
||||
argocd-image-updater.argoproj.io/app.update-strategy: newest-build
|
||||
argocd-image-updater.argoproj.io/app.allow-tags: "regexp:^[a-f0-9]{7}$"
|
||||
spec:
|
||||
replicas: 2
|
||||
selector:
|
||||
@@ -42,11 +46,17 @@ spec:
|
||||
secretKeyRef:
|
||||
name: portfolio-agent-oidc
|
||||
key: TOKEN_URL
|
||||
# LLM API configuration
|
||||
# LLM API configuration (from encrypted ConfigMap)
|
||||
- name: LLM_API_URL
|
||||
value: "https://api.riotpiao.com/v1/chat/completions"
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: portfolio-llm-config
|
||||
key: LLM_API_URL
|
||||
- name: LLM_MODEL
|
||||
value: "qwen2.5:3b-instruct"
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: portfolio-llm-config
|
||||
key: LLM_MODEL
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 3000
|
||||
|
||||
@@ -1,8 +1,22 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: portfolio
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
- ingress.yaml
|
||||
|
||||
# SOPS-encrypted secrets via ksops generator (ArgoCD repo-server plugin)
|
||||
# ksops intercepts encrypted files, decrypts them, returns valid resources
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
|
||||
generators:
|
||||
- secret-generator.yaml
|
||||
|
||||
# ArgoCD Image Updater configuration - for tag updates
|
||||
images:
|
||||
- name: forgejo.riotpiao.com/rock/portfolio
|
||||
newTag: f68c904
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
apiVersion: viaduct.ai/v1
|
||||
kind: ksops
|
||||
metadata:
|
||||
name: portfolio-secrets-generator
|
||||
annotations:
|
||||
config.kubernetes.io/function: |
|
||||
exec:
|
||||
path: ksops
|
||||
files:
|
||||
- configmap.enc.yaml
|
||||
+76
-64
@@ -143,28 +143,20 @@
|
||||
"askPoimen": "Ask Poimen for technical details",
|
||||
"items": [
|
||||
{
|
||||
"title": "Homelab: Self-Hosted Cloud",
|
||||
"description": "Production-grade cloud platform rebuilt from scratch on bare-metal Kubernetes.",
|
||||
"longDescription": "4-node Talos cluster (3 control plane + 1 worker) with OIDC SSO, GitOps (ArgoCD), CI/CD, Kafka, PostgreSQL, S3 storage, GPU LLM inference, and Temporal workflows.",
|
||||
"stat": "4 nodes, 20+ services, 99.2% uptime",
|
||||
"highlight": "AWS rebuilt at home—full stack from compute to observability.",
|
||||
"title": "Poimen: Agent Workflow Orchestration",
|
||||
"description": "Poimen (Greek: Ποιμήν) means \"shepherd\" — a guide who tends, orchestrates, and reconciles. Poimen is an intelligent orchestration layer that transforms natural language into durable, distributed agent workflows powered by Temporal.",
|
||||
"longDescription": "An LLM router analyzes user intent, retrieves relevant knowledge from semantic memory, and generates executable workflow specs — enabling agent deployment at scale where any activity can be wired as a composable step in the reconciliation pipeline. Every workflow is durable, retryable, and observable.",
|
||||
"stat": "Temporal, LLM Routing, 9 Composable Activities",
|
||||
"highlight": "Natural language → executable WorkflowSpec via reasoning model + memory-augmented context retrieval + durable state machine execution.",
|
||||
"bullets": [
|
||||
"Kubernetes (Talos Linux) + ArgoCD GitOps + Terraform IaC + Kustomize manifests",
|
||||
"Authentik OIDC SSO + RBAC + SOPS encrypted secrets + cert-manager TLS",
|
||||
"Longhorn block storage + MinIO S3 + CloudNativePG PostgreSQL + pgvector",
|
||||
"Prometheus + Grafana + Loki + Tempo + OpenTelemetry observability stack",
|
||||
"vLLM GPU inference (Qwen3-32B) + Ollama + TEI embeddings + KServe orchestration",
|
||||
"Temporal workflows + Kafka/Redpanda streaming + Forgejo CI/CD + DinD runners",
|
||||
"Go API gateway + Python ML + Next.js frontend + Cloudflare Tunnel zero-trust"
|
||||
],
|
||||
"deepDive": {
|
||||
"label": "Deep Dive: Homelab Architecture →",
|
||||
"url": "/homelab"
|
||||
}
|
||||
"LLM-Powered Workflow Routing: Natural language → executable WorkflowSpec via reasoning model (api.riotpiao.com). Activity Knowledge Base (9 activities) informs the LLM about timeouts, retry policies, and dependencies—intelligent step ordering and error handling strategies.",
|
||||
"Memory-Augmented Context Retrieval: RetrieveMemoryActivity queries poimen-memory (Rust semantic search service) for relevant skills and lessons before routing—injecting domain knowledge into prompts for context-aware workflow generation.",
|
||||
"Generic State Machine Executor: RoutingWorkflow executes any JSON workflow spec with JSONPath parameter chaining (${Step1.output.path}), automatic retries for flaky activities, catch blocks for error recovery, and Temporal's durable execution guarantees—every registered activity a composable building block."
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Poimen Memory System",
|
||||
"description": "Distributed Graph-RAG infrastructure with hierarchical RBAC and wiki-link indexing.",
|
||||
"description": "The memory layer behind Poimen — a distributed Graph-RAG system that gives the shepherd long-term recall, semantic search, and hierarchical access control over its knowledge base.",
|
||||
"longDescription": "Three-tier context retrieval pipeline with PageRank-style link scoring, hybrid search fusion (HNSW + BM25), and OIDC-based access control for multi-tenant knowledge graphs.",
|
||||
"stat": "Graph-RAG, pgvector, OpenSearch, Rust + Actix-web",
|
||||
"highlight": "Bidirectional wiki-link indexing with RRF fusion + hierarchical RBAC — 50ms signature match tier, graph-boosted hybrid search tier, Obsidian fallback.",
|
||||
@@ -175,16 +167,24 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Poimen: Agent Workflow Orchestration",
|
||||
"description": "Temporal-powered orchestration that transforms natural language into durable, scalable workflow executions.",
|
||||
"longDescription": "LLM router analyzes user intent, retrieves relevant knowledge from semantic memory, and generates executable workflow specs—enabling agent deployment at scale where any activity can be wired as a step in the reconciliation pipeline.",
|
||||
"stat": "Temporal, LLM Routing, 9 Composable Activities",
|
||||
"highlight": "Natural language → executable WorkflowSpec via reasoning model + memory-augmented context retrieval + durable state machine execution.",
|
||||
"title": "Homelab: Production-Grade Kubernetes Platform",
|
||||
"description": "From bare metal to a self-healing, GitOps-driven platform — 4-node cluster running 20+ services with full observability, zero-trust networking, and GPU-accelerated AI inference.",
|
||||
"longDescription": "Built and operate a production-grade Kubernetes platform on Talos Linux — self-healing nodes, declarative GitOps deployments via ArgoCD, SOPS-encrypted secrets, OIDC single sign-on, and end-to-end observability (Prometheus → Grafana → Loki → Tempo). Every change is auditable, every failure auto-recovers, every service is monitored.",
|
||||
"stat": "4 nodes · 20+ services · 99.2% uptime · 0 manual deployments",
|
||||
"highlight": "Production-grade platform engineering — not a hobby cluster. Self-healing infrastructure, GitOps-only deployments, full-stack observability, and GPU inference at home.",
|
||||
"bullets": [
|
||||
"LLM-Powered Workflow Routing: Natural language → executable WorkflowSpec via reasoning model (api.riotpiao.com). Activity Knowledge Base (9 activities) informs the LLM about timeouts, retry policies, and dependencies—intelligent step ordering and error handling strategies.",
|
||||
"Memory-Augmented Context Retrieval: RetrieveMemoryActivity queries poimen-memory (Rust semantic search service) for relevant skills and lessons before routing—injecting domain knowledge into prompts for context-aware workflow generation.",
|
||||
"Generic State Machine Executor: RoutingWorkflow executes any JSON workflow spec with JSONPath parameter chaining (${Step1.output.path}), automatic retries for flaky activities, catch blocks for error recovery, and Temporal's durable execution guarantees—every registered activity a composable building block."
|
||||
]
|
||||
"Talos Linux bare-metal cluster — immutable OS, API-driven node management, self-healing on failure",
|
||||
"ArgoCD + Kustomize + SOPS — zero-touch GitOps: every deploy is a git commit, every secret is encrypted",
|
||||
"Authentik OIDC SSO + RBAC — single identity across 20+ services, zero-trust access from day one",
|
||||
"Prometheus + Grafana + Loki + Tempo — full observability stack: metrics, logs, traces, alerts",
|
||||
"vLLM GPU inference (Qwen3-32B) + KServe — production AI serving with autoscale and traffic splitting",
|
||||
"Temporal + Kafka + CloudNativePG — durable workflows, event streaming, HA PostgreSQL with pgvector",
|
||||
"Cloudflare Tunnel + cert-manager — zero-trust ingress, auto-TLS, no exposed ports"
|
||||
],
|
||||
"deepDive": {
|
||||
"label": "Explore the Architecture →",
|
||||
"url": "/homelab"
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "RBC: Multi-Cloud Platform",
|
||||
@@ -223,35 +223,41 @@
|
||||
"title": "Explore Experience",
|
||||
"subtitle": "Feel free to Ask Poimen more abt it",
|
||||
"items": [
|
||||
{
|
||||
"company": "Poimen (Ποιμήν)",
|
||||
"role": "Architect / Agentic Engineer",
|
||||
"period": "May 2025 — Present",
|
||||
"description": "Poimen (\"shepherd\" in Greek) — a self-learning agent platform with two pillars:\n\n🧠 <b>Memory</b>: <b>Rust</b>-based <b>Graph-RAG</b> service. Fixed-window chunking → <b>TEI</b> embeddings → <b>pgvector</b> + bidirectional graph index. Three-tier retrieval via <b>RRF fusion</b>: signature match (<b>50ms</b>), graph-boosted hybrid search, <b>Obsidian</b> fallback. Self-compacting cache evicts stale embeddings and auto-reconciles the graph on every write.\n\n⚡ <b>Workflows</b>: <b>Go</b> + <b>Temporal</b> durable execution engine. LLM router generates <b>WorkflowSpecs</b> from natural language, informed by an <b>Activity Knowledge Base</b> (9 activities with timeout/retry/dependency metadata). <b>JSONPath</b> parameter chaining, catch-block recovery, <b>exactly-once</b> guarantees. <b>Goal-driven</b>: describe intent → platform assembles, executes, and self-heals."
|
||||
},
|
||||
{
|
||||
"company": "riotpiao.com",
|
||||
"role": "DevOps / SRE / SDE",
|
||||
"period": "May 2025 — Present",
|
||||
"description": "Wanted to understand how LLM serving works at scale—so built an entire cloud platform from scratch on bare-metal K8s. 4 machines (1 GPU node, 1 Dell PowerEdge R520, 2 mini-desktops), 3 control planes for distributed consensus. Learned etcd needs low-latency the hard way—powerline adapters spiked 200ms with 30+ pods, killing consensus. Ran ethernet to the garage. Purchased riotpiao.com from Cloudflare with wildcard DNS. Evolved GitOps from pure Terraform to Terraform (Talos config, barely changes) + ArgoCD (CRD-driven observer pattern for K8s resources). Unified IAM with Authentik OIDC, deployed paperless.riotpiao.com for document workflow integration. Now building Poimen—an AI agent system where the right context + small model = successful task inference."
|
||||
"description": "Designed and operate a <b>production-grade bare-metal Kubernetes platform</b> from scratch — 4 nodes, <b>3 control planes</b>, <b>20+ services</b>, <b>99.2% uptime</b>.\n\n🏗️ <b>Infrastructure</b>: <b>Talos Linux</b> immutable OS, <b>etcd</b> distributed consensus, <b>Longhorn</b> block storage, <b>MinIO</b> S3, <b>CloudNativePG</b> with <b>pgvector</b>. Resolved etcd leader election failures caused by 200ms network latency — re-architected the physical topology for sub-5ms RTT.\n\n🔄 <b>GitOps & CI/CD</b>: Evolved from pure <b>Terraform</b> to <b>Terraform</b> (node provisioning) + <b>ArgoCD</b> (application delivery). <b>Kustomize</b> overlays, <b>SOPS</b>-encrypted secrets, <b>Forgejo CI</b> with DinD runners. Zero manual deployments — every change is a git commit.\n\n🔐 <b>Security & Identity</b>: <b>Authentik OIDC SSO</b> + <b>RBAC</b> across all services. <b>Cloudflare Tunnel</b> zero-trust ingress, <b>cert-manager</b> auto-TLS, no exposed ports.\n\n📊 <b>Observability</b>: <b>Prometheus</b> + <b>Grafana</b> + <b>Loki</b> + <b>Tempo</b> — full metrics, logs, traces, and alerting stack.\n\n🤖 <b>AI/ML Serving</b>: <b>vLLM</b> GPU inference (<b>Qwen3-32B</b>), <b>KServe</b> model orchestration, <b>TEI</b> embeddings, <b>Ollama</b> lightweight models."
|
||||
},
|
||||
{
|
||||
"company": "RBC",
|
||||
"role": "Lead Software Engineer",
|
||||
"period": "Nov 2024 — May 2026",
|
||||
"description": "Learned Terraform and Temporal here—tools fundamental for hosting infra at ease. Tackled two big problems: (1) Flaky deployments—500+ resource state files timing out, 503 errors, lock contention. Fixed by migrating to JFrog Artifactory, splitting plan/apply phases with immutable artifacts, throttling parallelism. Zero state corruption after. (2) Configuration drift—engineers hotfixing in cloud console, code detached from reality. Built nightly cron drift detection with Slack alerts, cut drift visibility from 3 weeks to <24hrs. Key takeaway: Terraform shines when things barely change; for K8s resources that churn, you need ArgoCD."
|
||||
"description": "Led infrastructure platform engineering for multi-cloud IaC across <b>12 teams</b>.\n\n🏗️ <b>State Migration</b>: Migrated <b>500+ Terraform</b> resource state files from S3 to <b>JFrog Artifactory</b>. Split plan/apply into <b>immutable artifact pipeline</b> with throttled parallelism — eliminated <b>503 timeouts</b>, lock contention, and <b>zero state corruption</b> post-migration.\n\n🔍 <b>Drift Detection</b>: Built nightly <b>cron-based drift detection</b> with <b>Slack</b> alerting — cut configuration drift visibility from <b>3 weeks → <24 hours</b>. Stopped engineers hotfixing in cloud console without updating code.\n\n⚡ <b>Workflow Orchestration</b>: Introduced <b>Temporal</b> for durable workflow execution across provisioning pipelines. Standardized <b>IaC patterns</b> across teams — <b>3× integration velocity</b>.\n\n<b>Stack</b>: <b>Terraform</b>, <b>OpenShift</b>, <b>Docker</b>, <b>Golang</b>, <b>Grafana</b>, <b>Artifactory</b>, <b>Temporal</b>"
|
||||
},
|
||||
{
|
||||
"company": "AWS",
|
||||
"role": "Senior Software Engineer (Step Functions)",
|
||||
"period": "2022 — 2024",
|
||||
"description": "First job out of grad school—learned STAR method and customer obsession at scale. Owned Distributed-Map end-to-end across 57+ regions, sub-100ms P99. Caught a potentially customer-impacting condition field change during code review and coordinated simultaneous frontend+backend deployment—because deployment alignment keeps the business running. Built Redrive Execution for customers to retry from failure point, plus ops tools. Learned backward-compat is critical when frontend consumes latest images. Owned oncall, built CloudWatch dashboards, wrote runbooks."
|
||||
"description": "Owned <b>Distributed-Map</b> end-to-end for <b>AWS Step Functions</b> — <b>57+ regions</b>, <b>sub-100ms P99</b> latency.\n\n🚀 <b>Feature Ownership</b>: Launched <b>Redrive Execution</b> — retry-from-failure-point for distributed workflows. Designed <b>JSON state input</b> for larger payloads, unlocking new customer use cases. Caught a breaking <b>condition field change</b> in code review — coordinated simultaneous frontend + backend deployment to prevent customer impact.\n\n📊 <b>Operational Excellence</b>: Built <b>CloudWatch</b> dashboards, authored runbooks, owned <b>oncall rotation</b>. Maintained <b>backward compatibility</b> across frontend/backend release cycles.\n\n🔧 <b>Distributed Systems</b>: <b>DynamoDB</b> partition design, <b>gRPC</b> service mesh, <b>disaster recovery</b> planning, <b>multi-region</b> replication.\n\n<b>Stack</b>: <b>Java</b>, <b>AWS</b>, <b>DynamoDB</b>, <b>CloudWatch</b>, <b>gRPC</b>, <b>Step Functions</b>"
|
||||
},
|
||||
{
|
||||
"company": "Titus",
|
||||
"role": "Software Engineer Intern",
|
||||
"period": "May — Aug 2019",
|
||||
"description": "Streamlined Personal Data Detection to detect anomaly exit of classified data—achieved 97.8% accuracy. Built fault-tolerant Golang connector—28% p99 improvement over legacy. Re-integrated SmartRegex with CMake & C++ on Linux/Unix—5x faster deployment."
|
||||
"description": "Data classification security startup — built detection and connector systems.\n\n🔍 <b>Anomaly Detection</b>: Built <b>Personal Data Detection</b> pipeline to flag classified data exfiltration — <b>97.8% accuracy</b>.\n\n⚡ <b>Connector</b>: Fault-tolerant <b>Golang</b> data connector — <b>28% P99 improvement</b> over legacy system.\n\n🔧 <b>Build System</b>: Re-integrated <b>SmartRegex</b> engine with <b>CMake</b> + <b>C++</b> on Linux/Unix — <b>5× faster deployment</b>.\n\n<b>Stack</b>: <b>Golang</b>, <b>C++</b>, <b>CMake</b>, <b>Docker</b>, <b>Linux</b>"
|
||||
},
|
||||
{
|
||||
"company": "NAV Canada",
|
||||
"role": "Summer Student",
|
||||
"period": "May — Aug 2018",
|
||||
"description": "Maintained enterprise web app CFPS in Agile development process. Built Django NOTAMJ polls app to meet iteration goals. Improved deploy stability with Sonar code coverage. Created FWGS weather briefing interface with ReactJS for ATC."
|
||||
"description": "Air traffic control software — enterprise web applications for flight planning and weather briefing.\n\n✈️ <b>FWGS Weather Briefing</b>: Built <b>ReactJS</b> weather briefing interface used by <b>air traffic controllers</b> for real-time flight weather data.\n\n🗳️ <b>NOTAMJ Polls</b>: Developed <b>Django</b> polling application to meet sprint iteration goals within <b>Agile</b> workflow.\n\n📊 <b>Quality</b>: Improved deploy stability with <b>SonarQube</b> code coverage integration on enterprise <b>CFPS</b> platform.\n\n<b>Stack</b>: <b>ReactJS</b>, <b>Django</b>, <b>SonarQube</b>, <b>Agile</b>"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -410,28 +416,20 @@
|
||||
"askPoimen": "问Poimen了解技术细节",
|
||||
"items": [
|
||||
{
|
||||
"title": "家庭实验室:自托管云",
|
||||
"description": "在裸机Kubernetes上从零构建的生产级云平台。",
|
||||
"longDescription": "4节点Talos集群(3控制平面+1工作节点),具备OIDC SSO、GitOps (ArgoCD)、CI/CD、Kafka、PostgreSQL、S3存储、GPU LLM推理、Temporal工作流。",
|
||||
"stat": "4节点,20+服务,99.2%可用性",
|
||||
"highlight": "在家重建AWS——从计算到可观测性的完整栈。",
|
||||
"title": "Poimen: 智能体工作流编排",
|
||||
"description": "Poimen(希腊语:Ποιμήν)意为\"牧羊人\"——引导、编排和协调的角色。Poimen 是一个智能编排层,将自然语言转化为由 Temporal 驱动的持久化分布式代理工作流。",
|
||||
"longDescription": "LLM路由器分析用户意图,从语义记忆中检索相关知识,生成可执行的工作流规范——实现大规模代理部署,任何活动都可以作为协调管道中的可组合步骤。每个工作流都是持久化的、可重试的、可观测的。",
|
||||
"stat": "Temporal, LLM路由, 9个可组合活动",
|
||||
"highlight": "自然语言 → 可执行WorkflowSpec:推理模型 + 记忆增强上下文检索 + 持久状态机执行。",
|
||||
"bullets": [
|
||||
"Kubernetes (Talos Linux) + ArgoCD GitOps + Terraform IaC + Kustomize",
|
||||
"Authentik OIDC SSO + RBAC + SOPS加密密钥 + cert-manager TLS",
|
||||
"Longhorn块存储 + MinIO S3 + CloudNativePG PostgreSQL + pgvector",
|
||||
"Prometheus + Grafana + Loki + Tempo + OpenTelemetry可观测性栈",
|
||||
"vLLM GPU推理 (Qwen3-32B) + Ollama + TEI嵌入 + KServe编排",
|
||||
"Temporal工作流 + Kafka/Redpanda流处理 + Forgejo CI/CD + DinD运行器",
|
||||
"Go API网关 + Python ML + Next.js前端 + Cloudflare Tunnel零信任"
|
||||
],
|
||||
"deepDive": {
|
||||
"label": "深入了解:家庭实验室架构 →",
|
||||
"url": "/homelab"
|
||||
}
|
||||
"LLM工作流路由:自然语言 → 可执行WorkflowSpec,通过推理模型。活动知识库(9个活动)告知LLM超时、重试策略和依赖关系——智能步骤排序和错误处理策略。",
|
||||
"记忆增强上下文检索:RetrieveMemoryActivity查询poimen-memory(Rust语义搜索服务)获取相关技能和经验——将领域知识注入提示词,实现上下文感知的工作流生成。",
|
||||
"通用状态机执行器:RoutingWorkflow执行任何JSON工作流规格,支持JSONPath参数链接、自动重试、catch错误恢复和Temporal持久执行保证——每个注册活动都是可组合的构建块。"
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Poimen记忆系统",
|
||||
"description": "具有分层RBAC的分布式图RAG基础设施和维基链接索引。",
|
||||
"description": "Poimen 背后的记忆层——分布式 Graph-RAG 系统,为牧羊人提供长期记忆、语义搜索和分层访问控制。",
|
||||
"longDescription": "三层上下文检索管道,支持PageRank风格的链接评分、混合搜索融合(HNSW + BM25)和基于OIDC的多租户知识图访问控制。",
|
||||
"stat": "图-RAG, pgvector, OpenSearch, Rust + Actix-web",
|
||||
"highlight": "双向维基链接索引配RRF融合 + 分层RBAC——50ms签名匹配层、图增强混合搜索层、Obsidian兜底。",
|
||||
@@ -442,16 +440,24 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Poimen: 智能体工作流编排",
|
||||
"description": "Temporal驱动的编排平台,将自然语言转化为持久、可扩展的工作流执行。",
|
||||
"longDescription": "LLM路由器分析用户意图,从语义记忆中检索相关知识,生成可执行工作流规格——支持大规模智能体部署,任何活动可作为协调管道的步骤。",
|
||||
"stat": "Temporal, LLM路由, 9个可组合活动",
|
||||
"highlight": "自然语言 → 可执行WorkflowSpec:推理模型 + 记忆增强上下文检索 + 持久状态机执行。",
|
||||
"title": "家庭实验室:生产级 Kubernetes 平台",
|
||||
"description": "从裸金属到自愈、GitOps 驱动的平台 — 4节点集群运行20+服务,具备全链路可观测性、零信任网络和GPU加速AI推理。",
|
||||
"longDescription": "在 Talos Linux 上构建并运维生产级 Kubernetes 平台 — 自愈节点、ArgoCD 声明式 GitOps 部署、SOPS 加密密钥、OIDC 单点登录,以及端到端可观测性(Prometheus → Grafana → Loki → Tempo)。每次变更可审计,每次故障自动恢复,每个服务均有监控。",
|
||||
"stat": "4节点 · 20+服务 · 99.2%可用性 · 0次手动部署",
|
||||
"highlight": "生产级平台工程 — 不是业余集群。自愈基础设施、纯GitOps部署、全栈可观测性、家庭GPU推理。",
|
||||
"bullets": [
|
||||
"LLM工作流路由:自然语言 → 可执行WorkflowSpec,通过推理模型。活动知识库(9个活动)告知LLM超时、重试策略和依赖关系——智能步骤排序和错误处理策略。",
|
||||
"记忆增强上下文检索:RetrieveMemoryActivity查询poimen-memory(Rust语义搜索服务)获取相关技能和经验——将领域知识注入提示词,实现上下文感知的工作流生成。",
|
||||
"通用状态机执行器:RoutingWorkflow执行任何JSON工作流规格,支持JSONPath参数链接、自动重试、catch错误恢复和Temporal持久执行保证——每个注册活动都是可组合的构建块。"
|
||||
]
|
||||
"Talos Linux 裸金属集群 — 不可变OS、API驱动节点管理、故障自愈",
|
||||
"ArgoCD + Kustomize + SOPS — 零接触GitOps:每次部署即git提交,每个密钥均加密",
|
||||
"Authentik OIDC SSO + RBAC — 20+服务单一身份,零信任访问",
|
||||
"Prometheus + Grafana + Loki + Tempo — 全链路可观测:指标、日志、追踪、告警",
|
||||
"vLLM GPU推理 (Qwen3-32B) + KServe — 生产级AI服务,自动扩缩与流量分割",
|
||||
"Temporal + Kafka + CloudNativePG — 持久化工作流、事件流、高可用PostgreSQL + pgvector",
|
||||
"Cloudflare Tunnel + cert-manager — 零信任入口、自动TLS、无暴露端口"
|
||||
],
|
||||
"deepDive": {
|
||||
"label": "探索架构详情 →",
|
||||
"url": "/homelab"
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "RBC: 多云平台",
|
||||
@@ -490,35 +496,41 @@
|
||||
"title": "工作经历",
|
||||
"subtitle": "欢迎向Poimen了解更多",
|
||||
"items": [
|
||||
{
|
||||
"company": "Poimen (Ποιμήν)",
|
||||
"role": "架构师 / 智能体工程师",
|
||||
"period": "2025年5月 — 至今",
|
||||
"description": "Poimen(\"牧羊人\")— 自学习智能体平台,两大支柱:\n\n🧠 <b>记忆</b>:<b>Rust</b> <b>Graph-RAG</b> 服务。固定窗口分块 → <b>TEI</b> 嵌入 → <b>pgvector</b> + 双向图索引。三层 <b>RRF 融合</b>检索:签名匹配(<b>50ms</b>)、图增强混合搜索、<b>Obsidian</b> 回退。自压缩缓存淘汰过时嵌入,每次写入自动协调图。\n\n⚡ <b>工作流</b>:<b>Go</b> + <b>Temporal</b> 持久化执行引擎。LLM 路由器从自然语言生成 <b>WorkflowSpec</b>,基于<b>活动知识库</b>(9个活动,含超时/重试/依赖元数据)。<b>JSONPath</b> 参数链、catch 恢复、<b>精确一次</b>保证。<b>目标驱动</b>:描述意图 → 平台组装、执行并自愈。"
|
||||
},
|
||||
{
|
||||
"company": "riotpiao.com",
|
||||
"role": "DevOps / SRE / 软件开发",
|
||||
"period": "2025年5月 — 至今",
|
||||
"description": "想理解LLM大规模服务的原理——于是在裸机K8s上从零构建了完整的云平台。4台机器(1 GPU节点、1台Dell PowerEdge R520、2台迷你主机),3个控制平面做分布式共识。经历了etcd延迟的教训——电力线适配器在30+pod时延迟飙升200ms,导致共识崩溃。从实践中学习,GitOps从Terraform演进为Terraform(Talos配置)+ ArgoCD(CRD观察者模式)。统一Authentik OIDC身份认证,部署paperless.riotpiao.com用于文档工作流集成。现在正在构建Poimen——一个AI智能体系统,正确的上下文+小模型=成功的任务推理。"
|
||||
"description": "从零设计并运维<b>生产级裸金属 Kubernetes 平台</b> — 4节点、<b>3控制面</b>、<b>20+服务</b>、<b>99.2%可用性</b>。\n\n🏗️ <b>基础设施</b>:<b>Talos Linux</b> 不可变OS、<b>etcd</b> 分布式共识、<b>Longhorn</b> 块存储、<b>MinIO</b> S3、<b>CloudNativePG</b> + <b>pgvector</b>。解决了200ms网络延迟导致的 etcd 选主失败 — 重新设计物理拓扑至 5ms 以下 RTT。\n\n🔄 <b>GitOps & CI/CD</b>:从纯 <b>Terraform</b> 演进为 <b>Terraform</b>(节点配置)+ <b>ArgoCD</b>(应用交付)。<b>Kustomize</b> overlay、<b>SOPS</b> 加密密钥、<b>Forgejo CI</b> + DinD 运行器。零手动部署。\n\n🔐 <b>安全与身份</b>:<b>Authentik OIDC SSO</b> + <b>RBAC</b>。<b>Cloudflare Tunnel</b> 零信任入口、<b>cert-manager</b> 自动TLS。\n\n📊 <b>可观测性</b>:<b>Prometheus</b> + <b>Grafana</b> + <b>Loki</b> + <b>Tempo</b> — 全栈指标、日志、追踪、告警。\n\n🤖 <b>AI/ML 服务</b>:<b>vLLM</b> GPU推理(<b>Qwen3-32B</b>)、<b>KServe</b> 模型编排、<b>TEI</b> 嵌入、<b>Ollama</b> 轻量模型。"
|
||||
},
|
||||
{
|
||||
"company": "RBC",
|
||||
"role": "技术主管",
|
||||
"period": "2024年11月 — 2026年5月",
|
||||
"description": "在这里学习了Terraform和Temporal——让基础设施托管变得简单的核心工具。解决了两个大问题:(1)不稳定部署——500+资源的状态文件超时、503错误、锁竞争。迁移到JFrog Artifactory,拆分plan/apply阶段为不可变制品,限流并行度。零状态损坏。(2)配置漂移——工程师在控制台热修复,代码与现实脱节。构建夜间cron漂移检测+Slack告警,漂移可见性从3周缩短到<24小时。核心心得:Terraform适合很少变化的东西;K8s资源频繁变动时需要ArgoCD。"
|
||||
"description": "领导多云 IaC 基础设施平台工程,服务 <b>12 个团队</b>。\n\n🏗️ <b>状态迁移</b>:将 <b>500+ Terraform</b> 资源状态文件从 S3 迁移至 <b>JFrog Artifactory</b>。plan/apply 拆分为<b>不可变制品管道</b>,限流并行度 — 消除 <b>503 超时</b>、锁竞争,迁移后<b>零状态损坏</b>。\n\n🔍 <b>漂移检测</b>:构建夜间 <b>cron 漂移检测</b> + <b>Slack</b> 告警 — 配置漂移可见性从 <b>3周 → <24小时</b>。\n\n⚡ <b>工作流编排</b>:引入 <b>Temporal</b> 持久化工作流。标准化 <b>IaC 模式</b> — <b>3倍集成速度</b>。\n\n<b>技术栈</b>:<b>Terraform</b>、<b>OpenShift</b>、<b>Docker</b>、<b>Golang</b>、<b>Grafana</b>、<b>Artifactory</b>、<b>Temporal</b>"
|
||||
},
|
||||
{
|
||||
"company": "AWS",
|
||||
"role": "高级软件工程师 (Step Functions)",
|
||||
"period": "2022 — 2024",
|
||||
"description": "毕业后第一份工作——学习了STAR方法和大规模组织中的客户至上。端到端拥有Distributed-Map,跨57+区域、P99<100ms。在代码审查中发现潜在影响客户的条件字段变更,协调前后端同步部署——因为部署对齐是业务持续运行的关键。构建Redrive Execution让客户从失败点重试。认识到前端消费最新镜像时后向兼容至关重要。"
|
||||
"description": "端到端负责 <b>AWS Step Functions</b> 的 <b>Distributed-Map</b> — <b>57+ 区域</b>、<b>P99 <100ms</b>。\n\n🚀 <b>功能负责</b>:发布 <b>Redrive Execution</b> — 分布式工作流从失败点重试。设计 <b>JSON 状态输入</b>支持更大负载。在代码审查中发现破坏性<b>条件字段变更</b> — 协调前后端同步部署,防止客户影响。\n\n📊 <b>运维卓越</b>:构建 <b>CloudWatch</b> 仪表盘、编写运维手册、负责<b>值班轮换</b>。保持前后端发布周期<b>向后兼容</b>。\n\n🔧 <b>分布式系统</b>:<b>DynamoDB</b> 分区设计、<b>gRPC</b> 服务网格、<b>灾备</b>规划、<b>多区域</b>复制。\n\n<b>技术栈</b>:<b>Java</b>、<b>AWS</b>、<b>DynamoDB</b>、<b>CloudWatch</b>、<b>gRPC</b>、<b>Step Functions</b>"
|
||||
},
|
||||
{
|
||||
"company": "Titus",
|
||||
"role": "软件工程师实习",
|
||||
"period": "2019年5月 — 8月",
|
||||
"description": "优化个人数据检测系统,识别机密数据异常流出——准确率97.8%。构建容错Golang连接器——p99延迟比旧版提升28%。用CMake & C++在Linux/Unix上重新集成SmartRegex——部署速度提升5倍。"
|
||||
"description": "数据分类安全初创公司 — 构建检测与连接器系统。\n\n🔍 <b>异常检测</b>:构建<b>个人数据检测</b>管道,标记机密数据外泄 — <b>97.8% 准确率</b>。\n\n⚡ <b>连接器</b>:容错 <b>Golang</b> 数据连接器 — <b>P99 提升 28%</b>。\n\n🔧 <b>构建系统</b>:<b>CMake</b> + <b>C++</b> 重新集成 <b>SmartRegex</b> 引擎 — <b>部署速度提升 5 倍</b>。\n\n<b>技术栈</b>:<b>Golang</b>、<b>C++</b>、<b>CMake</b>、<b>Docker</b>、<b>Linux</b>"
|
||||
},
|
||||
{
|
||||
"company": "NAV Canada",
|
||||
"role": "暑期实习生",
|
||||
"period": "2018年5月 — 8月",
|
||||
"description": "在敏捷开发流程中维护企业级Web应用CFPS。构建Django NOTAMJ轮询应用达成迭代目标。通过Sonar代码覆盖率检查提升部署稳定性。用ReactJS为ATC创建FWGS天气简报界面。"
|
||||
"description": "空管软件 — 航班计划与气象简报的企业级 Web 应用。\n\n✈️ <b>FWGS 气象简报</b>:构建 <b>ReactJS</b> 气象简报界面,供<b>空管人员</b>查看实时航班气象数据。\n\n🗳️ <b>NOTAMJ 投票</b>:<b>Django</b> 投票应用,<b>Agile</b> 工作流中达成迭代目标。\n\n📊 <b>质量</b>:通过 <b>SonarQube</b> 代码覆盖率集成提升企业 <b>CFPS</b> 平台部署稳定性。\n\n<b>技术栈</b>:<b>ReactJS</b>、<b>Django</b>、<b>SonarQube</b>、<b>Agile</b>"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
+3
-2
@@ -12,9 +12,10 @@
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"packageManager": "[email protected]",
|
||||
"dependencies": {
|
||||
"framer-motion": "^11.0.0",
|
||||
"lucide-react": "^0.344.0",
|
||||
"lucide-react": "^1.41.0",
|
||||
"next": "^15.5.20",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
@@ -28,7 +29,7 @@
|
||||
"@typescript-eslint/eslint-plugin": "^8.64.0",
|
||||
"@typescript-eslint/parser": "^8.64.0",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"eslint": "^8.57.1",
|
||||
"eslint": "^9.0.0",
|
||||
"eslint-config-next": "^16.2.10",
|
||||
"postcss": "^8.4.32",
|
||||
"typescript": "5.8.2"
|
||||
|
||||
Generated
+849
-747
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user