Kubernetes Cluster Documentation¶
Welcome to the comprehensive documentation for our Kubernetes cluster GitOps setup. This documentation covers architecture, development workflows, operations, and technical references.
π Documentation Index¶
1. GitOps Architecture & Repository Guide¶
Start here to understand the system
Learn about: - Overall architecture and design decisions - Repository structure and relationships - GitOps workflow and deployment patterns - CI/CD pipeline integration - Security model and best practices
Best for: Understanding how everything fits together, architectural decisions, and the big picture.
2. Developer Onboarding Guide¶
For developers deploying and maintaining applications
Learn how to: - Set up your local development environment - Deploy your first application - Update existing applications - Manage secrets securely - Troubleshoot common issues - Follow development best practices
Best for: New developers joining the team, deploying applications, day-to-day development workflows.
3. Operations Runbook¶
For platform engineers and operators
Learn how to: - Bootstrap a new cluster - Monitor and maintain applications - Manage infrastructure components - Handle secrets and credentials - Troubleshoot production issues - Perform disaster recovery - Execute maintenance procedures
Best for: Platform team members, SRE tasks, incident response, cluster maintenance.
4. Technical Reference¶
Detailed technical specifications
Reference for: - Component specifications and versions - Helm chart templates and values - ArgoCD configuration options - Kyverno policy definitions - API endpoints and interfaces - Configuration schemas - Complete glossary
Best for: Looking up specific configuration options, understanding component details, API references.
π Quick Start¶
For New Developers¶
- Read GitOps Architecture to understand the system
- Follow Developer Guide - Prerequisites to set up your environment
- Deploy your first application using Deploying Your First Application
For Platform Engineers¶
- Understand the architecture in GitOps Architecture
- Learn cluster bootstrap in Operations Runbook - Cluster Bootstrap
- Review Day-to-Day Operations procedures
For Troubleshooting¶
- Check Developer Guide - Troubleshooting for common developer issues
- Check Operations Runbook - Troubleshooting for operational issues
- Consult Technical Reference for configuration details
πΊοΈ Documentation Map¶
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β GITOPS ARCHITECTURE β
β (System Overview, Repositories, Workflows, Security) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββ΄ββββββββββββ
β β
βΌ βΌ
ββββββββββββββββββββ ββββββββββββββββββββββββ
β DEVELOPER GUIDE β β OPERATIONS RUNBOOK β
β (Development) β β (Operations) β
ββββββββββββββββββββ ββββββββββββββββββββββββ
β β
βββββββββββββ¬ββββββββββββ
βΌ
ββββββββββββββββββββββ
β TECHNICAL REFERENCEβ
β (Specifications) β
ββββββββββββββββββββββ
π Reading Paths¶
Path 1: New Developer (No K8s Experience)¶
- GitOps Architecture - Overview
- GitOps Architecture - GitOps Workflow
- Developer Guide - Understanding the Workflow
- Developer Guide - Deploying Your First Application
- Developer Guide - Troubleshooting
Path 2: Experienced Developer (Has K8s Experience)¶
- GitOps Architecture - Repository Structure
- Developer Guide - Local Development Setup
- Developer Guide - Deploying Your First Application
- Technical Reference - Helm Chart Reference
Path 3: Platform Engineer / SRE¶
- GitOps Architecture (entire document)
- Operations Runbook - Cluster Bootstrap
- Operations Runbook - Day-to-Day Operations
- Operations Runbook - Troubleshooting
- Technical Reference (as needed)
Path 4: Quick Reference¶
- Developer Guide - Quick Reference
- Technical Reference - Configuration Reference
- Technical Reference - Glossary
π Finding Information¶
How do I...?¶
| Task | Documentation |
|---|---|
| Deploy a new application | Developer Guide - Deploying Your First Application |
| Update an existing application | Developer Guide - Updating an Existing Application |
| Create and seal secrets | Developer Guide - Working with Secrets |
| Troubleshoot deployment issues | Developer Guide - Troubleshooting |
| Bootstrap a new cluster | Operations Runbook - Cluster Bootstrap |
| Scale an application | Operations Runbook - Scaling Applications |
| Roll back a deployment | Operations Runbook - Rolling Back Deployments |
| Manage monitoring | Operations Runbook - Monitoring & Alerting |
| Understand ArgoCD config | Technical Reference - ArgoCD Configuration |
| Look up Helm values | Technical Reference - Helm Chart Reference |
| Find component versions | Technical Reference - Version Matrix |
π System Overview¶
Cluster Architecture¶
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β GitHub Repositories β
β ββββββββββββββ ββββββββββββββ ββββββββββββββββββββββββββ β
β β Config β β Charts β β Values β β
β β (ArgoCD) β β (Templates)β β (Environment Config) β β
β ββββββββββββββ ββββββββββββββ ββββββββββββββββββββββββββ β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β ArgoCD (GitOps Engine) β
β Sync every 60 seconds β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Kubernetes Clusters (UpCloud: upc-dev, upc-prod) β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Infrastructure: Traefik, Cert-Manager, Kyverno β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€ β
β β Monitoring: Prometheus, Grafana, Loki, Fluent-Bit β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€ β
β β Applications: mcp10x, musicman, dot-ai-stack β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Key Technologies¶
- GitOps: ArgoCD
- Kubernetes: UpCloud Managed Kubernetes (multi-cluster: upc-dev, upc-prod)
- Ingress: Traefik v2
- Certificates: Cert-Manager + Let's Encrypt
- Policies: Kyverno
- Secrets: Sealed Secrets
- Monitoring: Prometheus + Grafana
- Logging: Loki + Fluent-Bit
π οΈ Common Tasks¶
Development Tasks¶
# Deploy new application
cd ~/dev/k8s/launchpad
# Create apps/myapp.yaml and helm-prod-values/myapp/values.yaml
git add apps/myapp.yaml
git commit -m "Add myapp"
git push
# Update application
cd ~/dev/k8s/helm-prod-values
vim myapp/values.yaml
git commit -am "Update myapp config"
git push
# Create secret
kubeseal --format=yaml --cert=pub-cert.pem \
< private/secret.yaml > secrets/secret-sealed.yaml
git add secrets/secret-sealed.yaml
git push
Operations Tasks¶
# Check application status
kubectl get applications -n argocd
# View application details
kubectl describe application myapp -n argocd
# Force sync
kubectl patch application myapp -n argocd \
--type merge -p '{"metadata":{"annotations":{"argocd.argoproj.io/refresh":"hard"}}}'
# Check pod logs
kubectl logs -n myapp <pod-name>
# Restart deployment
kubectl rollout restart deployment myapp -n myapp
π Getting Help¶
Documentation Search Order¶
- Quick Reference: Developer Guide - Quick Reference
- Troubleshooting: Developer Guide - Troubleshooting or Operations Runbook - Troubleshooting
- Technical Details: Technical Reference
- Architecture Context: GitOps Architecture
Support Channels¶
- Slack: #platform-support
- Issues: Platform team
- Emergencies: Escalate via Slack
π Document Maintenance¶
Updating Documentation¶
If you find: - Outdated information - Missing procedures - Errors or typos - Areas needing clarification
Please: 1. Create an issue or PR in the repository 2. Notify the platform team 3. Update the relevant documentation file
Documentation Structure¶
docs/
βββ README.md # This file (index)
βββ GITOPS-ARCHITECTURE.md # Architecture overview
βββ DEVELOPER-GUIDE.md # Developer workflows
βββ OPERATIONS-RUNBOOK.md # Operations procedures
βββ REFERENCE.md # Technical specifications
π Documentation Versions¶
Current Version: 1.0.0 Last Updated: 2026-03-16 Maintained By: Platform Team
Changelog¶
- v1.0.0 (2026-03-16): Initial comprehensive documentation release
- GitOps Architecture guide
- Developer Onboarding guide
- Operations Runbook
- Technical Reference
- Documentation index
π― Next Steps¶
Choose your path:
- π¨βπ» New Developer? Start with Developer Guide
- π§ Platform Engineer? Read Operations Runbook
- ποΈ Architect? Explore GitOps Architecture
- π Need Details? Check Technical Reference
Welcome to the team! π