Contributing¶
Thank you for your interest in contributing to Azure Kubernetes Service Practical Guide!
Quick Start¶
- Fork the repository
- Clone:
git clone https://github.com/yeongseon/azure-kubernetes-service-practical-guide.git - Install dependencies:
pip install mkdocs-material mkdocs-minify-plugin - Start local preview:
mkdocs serve - Open
http://127.0.0.1:8000in your browser - Create a feature branch:
git checkout -b feature/your-change - Make changes and validate:
mkdocs build --strict - Submit a Pull Request
Repository Structure¶
.
├── .github/
│ └── workflows/ # GitHub Pages deployment
├── docs/
│ ├── assets/ # Images, icons
│ ├── best-practices/ # Production patterns
│ ├── javascripts/ # Mermaid zoom JS
│ ├── operations/ # Day-2 operational tasks
│ ├── platform/ # Architecture and concepts
│ ├── reference/ # CLI cheatsheet, glossary, limits
│ ├── start-here/ # Entry points
│ ├── stylesheets/ # Custom CSS
│ └── troubleshooting/ # Diagnosis and resolution
└── mkdocs.yml # MkDocs Material configuration
Content Categories¶
| Section | Purpose |
|---|---|
| Start Here | Entry points, learning paths, repository map |
| Platform | AKS architecture, networking, node pools — WHAT and HOW it works |
| Best Practices | Production patterns — HOW to use the platform well |
| Operations | Day-2 execution — HOW to run in production |
| Troubleshooting | Diagnosis and resolution — hypothesis-driven |
| Reference | Quick lookup — CLI cheatsheet, glossary, limits |
Document Templates¶
Every document must follow the template for its section.
Platform docs¶
Best Practices docs¶
# Title
Brief introduction
## Why This Matters
## Recommended Practices
## Common Mistakes / Anti-Patterns
## Validation Checklist
## See Also
## Sources
Operations docs¶
# Title
Brief introduction
## Prerequisites
## When to Use
## Procedure
## Verification
## Rollback / Troubleshooting
## See Also
## Sources
Tutorial docs¶
# Title
Brief introduction
## Prerequisites
## What You'll Build
## Steps
## Verification
## Next Steps / Clean Up (optional)
## See Also
## Sources (optional)
Troubleshooting docs¶
# Title
## Symptom
## Possible Causes
## Diagnosis Steps
## Resolution
## Prevention
## See Also
## Sources
Lab Guides¶
# Title
Brief introduction
## Lab Metadata (table: difficulty, duration, tier, etc.)
## 1) Background
## 2) Hypothesis
## 3) Runbook
## 4) Experiment Log
## Expected Evidence
## Clean Up
## Related Playbook
## See Also
## Sources
Reference docs¶
Writing Standards¶
CLI Commands¶
# ALWAYS use long flags for readability
az aks create --resource-group $RG --name $CLUSTER_NAME --node-count 3
# NEVER use short flags in documentation
az aks create -g $RG -n $CLUSTER_NAME # ❌ Don't do this
Variables¶
| Variable | Description | Example |
|---|---|---|
$RG | Resource group name | rg-aks-demo |
$CLUSTER_NAME | AKS cluster name | aks-demo |
$LOCATION | Azure region | koreacentral |
Mermaid Diagrams¶
All architectural diagrams use Mermaid. Every page should include at least one diagram.
Nested Lists¶
4-space indent required.
Admonitions¶
4-space indent for body content.
Tail Sections¶
## See Also— internal cross-links## Sources— Microsoft Learn URLs
Content Source Policy¶
All documentation content must be traceable to official Microsoft Learn documentation.
| Type | Description | Allowed? |
|---|---|---|
mslearn | Content directly from or based on Microsoft Learn | Required for platform content |
mslearn-adapted | Microsoft Learn content adapted for this guide | Yes, with source URL |
self-generated | Original content created for this guide | Requires justification |
community | Community sources | Not for core content |
unknown | Source not documented | Must be validated |
PII Rules¶
CRITICAL: All CLI output examples MUST have PII removed.
Must mask (real Azure identifiers):
- Subscription IDs:
<subscription-id> - Tenant IDs:
<tenant-id> - Object IDs:
<object-id> - Resource IDs containing real subscription/tenant
- Emails: Remove or mask as
user@example.com - Secrets/Tokens: NEVER include
Build and Validate¶
Git Commit Style¶
type: short description — types: feat, fix, docs, chore, refactor
Review Process¶
- CI checks (MkDocs build)
- Maintainer review
- Merge triggers deployment
Code of Conduct¶
See CODE_OF_CONDUCT.md.