Present engineering case studies and architecture

This commit is contained in:
juvenal.diaz 2026-11-06 11:43:46 -06:00
parent bb27a764c2
commit fbde13b72c
4 changed files with 73 additions and 70 deletions

View File

@ -72,28 +72,10 @@ $stackKeys = [
'blog_stack_24', 'blog_stack_24',
]; ];
$caseStudyCards = [ $caseStudies = [
[ ['id' => 'case-jeannie', 'key' => 'case_jeannie'],
'label' => 'case_platform_label', ['id' => 'case-platform', 'key' => 'case_delivery'],
'title' => 'case_platform_title', ['id' => 'case-recovery', 'key' => 'case_recovery'],
'body' => 'case_platform_desc',
'href' => '#architecture-title',
'link' => 'case_platform_link',
],
[
'label' => 'case_sre_label',
'title' => 'case_sre_title',
'body' => 'case_sre_desc',
'href' => 'cv.php?lang=' . urlencode($lang),
'link' => 'case_sre_link',
],
[
'label' => 'case_mlops_label',
'title' => 'case_mlops_title',
'body' => 'case_mlops_desc',
'href' => '/demo-apps/mlops-platform/',
'link' => 'case_mlops_link',
],
]; ];
$treeHref = 'homelab-tree.php?lang=' . urlencode($lang); $treeHref = 'homelab-tree.php?lang=' . urlencode($lang);
@ -302,31 +284,22 @@ function renderStackSourceLinks(string $stackKey, array $sourceLinks, string $so
data-en="<?php echo htmlspecialchars($en['case_studies_title']); ?>"> data-en="<?php echo htmlspecialchars($en['case_studies_title']); ?>">
<?php echo $text['case_studies_title']; ?> <?php echo $text['case_studies_title']; ?>
</h2> </h2>
<p data-translate data-key="case_studies_intro" <p data-translate data-key="case_intro_new"
data-en="<?php echo htmlspecialchars($en['case_studies_intro']); ?>"> data-en="<?php echo htmlspecialchars($en['case_intro_new']); ?>">
<?php echo $text['case_studies_intro']; ?> <?php echo $text['case_intro_new']; ?>
</p> </p>
</div> </div>
<div class="case-study-grid"> <div class="case-study-grid">
<?php foreach ($caseStudyCards as $card): ?> <?php foreach ($caseStudies as $case): ?>
<article class="case-card"> <article class="case-card" id="<?php echo htmlspecialchars($case['id']); ?>">
<span data-translate data-key="<?php echo htmlspecialchars($card['label']); ?>" <?php $titleKey = $case['key'] . '_title'; ?>
data-en="<?php echo htmlspecialchars($en[$card['label']]); ?>"> <h3 data-translate data-key="<?php echo htmlspecialchars($titleKey); ?>" data-en="<?php echo htmlspecialchars($en[$titleKey]); ?>"><?php echo htmlspecialchars($text[$titleKey]); ?></h3>
<?php echo $text[$card['label']]; ?> <?php foreach (['problem', 'action', 'result', 'lesson'] as $part): ?>
</span> <?php $key = $case['key'] . '_' . $part; $label = 'case_label_' . $part; ?>
<h3 data-translate data-key="<?php echo htmlspecialchars($card['title']); ?>" <p><strong data-translate data-key="<?php echo htmlspecialchars($label); ?>" data-en="<?php echo htmlspecialchars($en[$label]); ?>"><?php echo htmlspecialchars($text[$label]); ?></strong>
data-en="<?php echo htmlspecialchars($en[$card['title']]); ?>"> <span class="case-detail" data-translate data-key="<?php echo htmlspecialchars($key); ?>" data-en="<?php echo htmlspecialchars($en[$key]); ?>"><?php echo htmlspecialchars($text[$key]); ?></span></p>
<?php echo $text[$card['title']]; ?> <?php endforeach; ?>
</h3> <a href="mailto:juvenaldiaz522@gmail.com"><?php echo htmlspecialchars($text['home_cta_email']); ?></a>
<p data-translate data-key="<?php echo htmlspecialchars($card['body']); ?>"
data-en="<?php echo htmlspecialchars($en[$card['body']]); ?>">
<?php echo $text[$card['body']]; ?>
</p>
<a href="<?php echo htmlspecialchars($card['href']); ?>"
data-translate data-key="<?php echo htmlspecialchars($card['link']); ?>"
data-en="<?php echo htmlspecialchars($en[$card['link']]); ?>">
<?php echo $text[$card['link']]; ?>
</a>
</article> </article>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
@ -350,6 +323,9 @@ function renderStackSourceLinks(string $stackKey, array $sourceLinks, string $so
</p> </p>
</div> </div>
<p class="architecture-overview" aria-label="Architecture overview">Git &amp; builds → OpenTofu &amp; Argo CD → Kubernetes workloads → Prometheus &amp; Grafana</p>
<details class="architecture-details">
<summary>Explore the detailed architecture</summary>
<div class="diagram-shell" aria-label="Professional homelab architecture diagram"> <div class="diagram-shell" aria-label="Professional homelab architecture diagram">
<svg class="homelab-map" viewBox="0 0 1120 960" role="img" aria-labelledby="homelab-map-title homelab-map-desc"> <svg class="homelab-map" viewBox="0 0 1120 960" role="img" aria-labelledby="homelab-map-title homelab-map-desc">
<title id="homelab-map-title">Homelab architecture map</title> <title id="homelab-map-title">Homelab architecture map</title>
@ -544,6 +520,7 @@ function renderStackSourceLinks(string $stackKey, array $sourceLinks, string $so
<text class="diagram-link-label" x="710" y="860">translation calls</text> <text class="diagram-link-label" x="710" y="860">translation calls</text>
</svg> </svg>
</div> </div>
</details>
<div class="diagram-actions"> <div class="diagram-actions">
<p class="diagram-caption" <p class="diagram-caption"

View File

@ -3,21 +3,21 @@ require_once __DIR__ . '/lang_helper.php';
$homeProofCards = [ $homeProofCards = [
[ [
'label' => 'home_proof_platform_label', 'label' => 'home_project_platform_label',
'title' => 'home_proof_platform_title', 'title' => 'home_project_platform_title',
'body' => 'home_proof_platform_body', 'body' => 'home_project_platform_body',
'href' => 'blog.php?lang=' . urlencode($lang) . '#case-jeannie', 'href' => 'blog.php?lang=' . urlencode($lang) . '#case-jeannie',
], ],
[ [
'label' => 'home_proof_scale_label', 'label' => 'home_project_scale_label',
'title' => 'home_proof_scale_title', 'title' => 'home_project_scale_title',
'body' => 'home_proof_scale_body', 'body' => 'home_project_scale_body',
'href' => 'blog.php?lang=' . urlencode($lang) . '#case-platform', 'href' => 'blog.php?lang=' . urlencode($lang) . '#case-platform',
], ],
[ [
'label' => 'home_proof_mlops_label', 'label' => 'home_project_mlops_label',
'title' => 'home_proof_mlops_title', 'title' => 'home_project_mlops_title',
'body' => 'home_proof_mlops_body', 'body' => 'home_project_mlops_body',
'href' => 'blog.php?lang=' . urlencode($lang) . '#case-recovery', 'href' => 'blog.php?lang=' . urlencode($lang) . '#case-recovery',
], ],
]; ];
@ -101,14 +101,14 @@ $homeProofCards = [
<section class="positioning-proof" aria-labelledby="home-proof-title"> <section class="positioning-proof" aria-labelledby="home-proof-title">
<p class="section-kicker" <p class="section-kicker"
data-translate data-key="home_proof_kicker" data-translate data-key="home_project_kicker"
data-en="<?php echo htmlspecialchars($en['home_proof_kicker']); ?>"> data-en="<?php echo htmlspecialchars($en['home_project_kicker']); ?>">
<?php echo $text['home_proof_kicker']; ?> <?php echo $text['home_project_kicker']; ?>
</p> </p>
<h2 id="home-proof-title" <h2 id="home-proof-title"
data-translate data-key="home_proof_title" data-translate data-key="home_project_title"
data-en="<?php echo htmlspecialchars($en['home_proof_title']); ?>"> data-en="<?php echo htmlspecialchars($en['home_project_title']); ?>">
<?php echo $text['home_proof_title']; ?> <?php echo $text['home_project_title']; ?>
</h2> </h2>
<div class="home-proof-grid"> <div class="home-proof-grid">
<?php foreach ($homeProofCards as $card): ?> <?php foreach ($homeProofCards as $card): ?>

View File

@ -22,17 +22,17 @@ return [
'home_cta_cases' => 'Read case studies', 'home_cta_cases' => 'Read case studies',
'home_cta_mlops' => 'Future AI platform demo', 'home_cta_mlops' => 'Future AI platform demo',
'home_cta_email' => 'Email me', 'home_cta_email' => 'Email me',
'home_proof_kicker' => 'Selected work', 'home_project_kicker' => 'Selected work',
'home_proof_title' => 'Real systems, practical engineering', 'home_project_title' => 'Real systems, practical engineering',
'home_proof_platform_label' => 'Automation', 'home_project_platform_label' => 'Automation',
'home_proof_platform_title' => 'Jeannie: operations as a workflow', 'home_project_platform_title' => 'Jeannie: operations as a workflow',
'home_proof_platform_body' => 'A homelab toolkit for cluster profiles, diagnostics, deployment checks, and recovery.', 'home_project_platform_body' => 'A homelab toolkit for cluster profiles, diagnostics, deployment checks, and recovery.',
'home_proof_scale_label' => 'Platform', 'home_project_scale_label' => 'Platform',
'home_proof_scale_title' => 'Kubernetes delivery platform', 'home_project_scale_title' => 'Kubernetes delivery platform',
'home_proof_scale_body' => 'GitOps, infrastructure as code, monitoring, and three mutually exclusive cluster layouts.', 'home_project_scale_body' => 'GitOps, infrastructure as code, monitoring, and three mutually exclusive cluster layouts.',
'home_proof_mlops_label' => 'Incident response', 'home_project_mlops_label' => 'Incident response',
'home_proof_mlops_title' => 'Investigate, recover, improve', 'home_project_mlops_title' => 'Investigate, recover, improve',
'home_proof_mlops_body' => 'Trace failures across storage, networking, and services, then turn lessons into repeatable operations.', 'home_project_mlops_body' => 'Trace failures across storage, networking, and services, then turn lessons into repeatable operations.',
'cv_summary_title' => 'Professional Summary', 'cv_summary_title' => 'Professional Summary',
'cv_summary' => 'Senior infrastructure and reliability engineer with 12+ years of experience across Linux, Kubernetes-based platforms, cloud operations, incident response, automation, and production support. Currently operating a Kubernetes/Terraform PaaS used by 20,000+ internal developers, with hands-on work in maintenance, emergency changes, tooling, documentation, GitOps-style delivery, and continuous improvement. Targeting senior remote DevOps, SRE, platform, and MLOps roles where reliability, automation, and clear operations matter.', 'cv_summary' => 'Senior infrastructure and reliability engineer with 12+ years of experience across Linux, Kubernetes-based platforms, cloud operations, incident response, automation, and production support. Currently operating a Kubernetes/Terraform PaaS used by 20,000+ internal developers, with hands-on work in maintenance, emergency changes, tooling, documentation, GitOps-style delivery, and continuous improvement. Targeting senior remote DevOps, SRE, platform, and MLOps roles where reliability, automation, and clear operations matter.',
@ -96,6 +96,26 @@ return [
'blog_kicker' => 'Homelab field notes', 'blog_kicker' => 'Homelab field notes',
'blog_title' => 'I accidentally built a tiny CI/CD platform', 'blog_title' => 'I accidentally built a tiny CI/CD platform',
'blog_subtitle' => 'A homelab delivery platform with three exclusive cluster profiles: hybrid kubeadm, all-Pimox kubeadm, and native K3s on the Orange Pi 5 Plus. Debian keeps Git, builds, AI tools and recovery available while the cluster changes.', 'blog_subtitle' => 'A homelab delivery platform with three exclusive cluster profiles: hybrid kubeadm, all-Pimox kubeadm, and native K3s on the Orange Pi 5 Plus. Debian keeps Git, builds, AI tools and recovery available while the cluster changes.',
'case_intro_new' => 'A closer look at how I design, operate, and investigate real systems in my homelab.',
'case_label_problem' => 'Problem:',
'case_label_action' => 'Approach:',
'case_label_result' => 'Result:',
'case_label_lesson' => 'Lesson:',
'case_jeannie_title' => 'Jeannie: make operations repeatable',
'case_jeannie_problem' => 'Managing multiple cluster layouts and external services by hand made routine operations harder to repeat safely.',
'case_jeannie_action' => 'I built a command-line toolkit for profile-aware workflows, identity checks, diagnostics, deployment preflight, and recovery.',
'case_jeannie_result' => 'The lab has a documented operational entry point for common tasks across its cluster profiles.',
'case_jeannie_lesson' => 'Automation is most useful when it explains what it is checking and stops when the evidence is insufficient.',
'case_delivery_title' => 'A Kubernetes delivery platform',
'case_delivery_problem' => 'A small lab needed a repeatable way to build, deploy, observe, and recover applications across different cluster layouts.',
'case_delivery_action' => 'I combined OpenTofu, Helm, Argo CD, a private registry, policy checks, and monitoring with cluster identity and scheduling checks.',
'case_delivery_result' => 'The same repository describes hybrid kubeadm, all-VM kubeadm, and native K3s layouts, with one profile active at a time.',
'case_delivery_lesson' => 'A successful deploy needs more than manifests: placement, storage, identity, and post-deployment readiness matter too.',
'case_recovery_title' => 'Tracing a K3s storage failure',
'case_recovery_problem' => 'The native K3s API stopped responding and the service repeatedly failed to start.',
'case_recovery_action' => 'I traced the missing executable message to I/O errors on a stale SSD-backed runtime mount and checked the live mount and filesystem identity.',
'case_recovery_result' => 'The investigation distinguished the runtime mount failure from an application or ingress failure; storage health and durable recovery still require verification.',
'case_recovery_lesson' => 'An application error can be a storage symptom. Follow the dependency chain and record uncertainty rather than declaring a fix prematurely.',
'case_studies_kicker' => 'Portfolio case studies', 'case_studies_kicker' => 'Portfolio case studies',
'case_studies_title' => 'Production-shaped evidence', 'case_studies_title' => 'Production-shaped evidence',
'case_studies_intro' => 'These are the three proof points a hiring manager should see first: platform ownership, production reliability at scale, and the reserved MLOps path for model-serving work.', 'case_studies_intro' => 'These are the three proof points a hiring manager should see first: platform ownership, production reliability at scale, and the reserved MLOps path for model-serving work.',

View File

@ -2360,3 +2360,9 @@ body.theme-light .architecture-icon::before,
body.theme-light .architecture-icon::after { body.theme-light .architecture-icon::after {
background: #0f6b2d; background: #0f6b2d;
} }
/* Case-study details remain readable alongside their labels. */
.case-card p { margin: 0 0 12px; }
.case-card .case-detail { display: inline; color: inherit; font-size: inherit; font-weight: inherit; letter-spacing: normal; text-transform: none; }
.architecture-overview { line-height: 1.7; font-weight: 700; }
.architecture-details summary { cursor: pointer; margin-bottom: 1rem; }