AKS / website
AGENTS.md2.1k starsChanged 12 months agoMITView on GitHub
Scope: Module-specific guidance for the website/ directory. For Blog Posts: See .github/instructions/website.blog.instructions.md For Repo Standards: See .github/copilot-instructions.md Prerequisites: Node.js >= 18.0, npm 9+ First time? Start with npm start, then create a post in blog/YYYY-MM-DD-slug/index.md. Changes hot-reload in browser. See .github/instructions/website.blog.instructions.md for content guidelines and writing style. Quick steps: See .github/instructions/website.blog.instructions.md for required and optional fields.
- Installs packages
Trending
Quiet this year.thin dataabout the whole repository
Who's talking about Azure/AKS
- hashicorp/terraform-provider-azurerm“AKS support for Backup Extension”GitHub · Apr 3, 2023 · 45 reactions
- hashicorp/terraform-provider-azurerm“Support for Azure Kubernetes Service (AKS) Automatic cluster”GitHub · Sep 24, 2025 · 40 reactions
- hashicorp/terraform-provider-azurerm“azurerm_kubernetes_cluster forces redeployment of recent cluster due to windows_profile”GitHub · Mar 24, 2020 · 32 reactions
- hashicorp/terraform-provider-azurerm“Support for node_provisioning_profile in Kubernetes Cluster (Node Auto Provisioning)”GitHub · Jul 18, 2025 · 31 reactions
- Azure/terraform-azurerm-aks“Support for AKS API Server VNet Integration”GitHub · Jun 15, 2023 · 25 reactions
The biggest 5 of 10 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 10
Talked about on GitHub and Hacker News (10 times).
On GitHub · 9
- Apr 3, 2023AKS support for Backup Extension — hashicorp/terraform-provider-azurerm45 reactions · 10 comments
- Sep 24, 2025Support for Azure Kubernetes Service (AKS) Automatic cluster — hashicorp/terraform-provider-azurerm40 reactions · 3 comments
- Mar 24, 2020azurerm_kubernetes_cluster forces redeployment of recent cluster due to windows_profile — hashicorp/terraform-provider-azurerm32 reactions · 6 comments
- Jul 18, 2025Support for node_provisioning_profile in Kubernetes Cluster (Node Auto Provisioning) — hashicorp/terraform-provider-azurerm31 reactions · 6 comments
- Jun 15, 2023Support for AKS API Server VNet Integration — Azure/terraform-azurerm-aks25 reactions · 16 comments
4 more on GitHub
- Jun 28, 2023Node memory usage on cgroupv2 reported higher than cgroupv1 — kubernetes/kubernetes23 reactions · 47 comments
- Oct 15, 2020Robustness and resiliency on Azure — confluentinc/librdkafka23 reactions · 15 comments
- Feb 22, 2023Support for ssh-ed25519 keys — Azure/AzureVM22 reactions · 1 comment
- Aug 2, 2020Support for user assigned identites for AKS — hashicorp/terraform-provider-azurerm21 reactions · 9 comments
On Hacker News · 1
- Nov 28, 2017Microsoft Managed Kubernetes (AKS)3 points
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
24 rules. About 0 are common, 13 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
First time?: Start with npm start, then create a post in blog/YYYY-MM-DD-slug/index.md.
- Distinctive: line 41
Static generation: All pages pre-rendered at build time → deployed to Azure Static Web Apps
- Very specific: line 100
Add front matter: title, date, description, authors, tags
- Very specific: line 101
Add <!-- truncate --> after intro paragraphs
- Very specific: line 102
Place images in same directory (./image.png)
- Distinctive: line 174
No GA4 script loads
- Distinctive: line 176
Default (if user dismisses banner without clicking): Analytics denied
- Distinctive: line 191
Delete cookie → reload → banner appears
- Distinctive: line 195
Privacy Compliance: All analytics disabled by default.
- Distinctive: line 229
Fallback Behavior: If current month file missing, component steps backward up to 3 months to find latest available agenda.
- Very specific: line 232
Create 2025-11.md before November community call
- Distinctive: line 233
No need to delete old months—component finds latest automatically
- Distinctive: line 234
Update timezone cards if meeting times/links change
- Distinctive: line 416
Test: Use Open Graph debugger to preview social cards
- Distinctive: line 427
Alt text: Always include descriptive alt text for accessibility
- Distinctive: line 446
Use full-width examples where possible
- Very specific: line 456
Fix: Run npm run build to see exact errors.
- Very specific: line 474
Use relative path: !alt (not absolute)
- Distinctive: line 475
Check case-sensitive filenames (Linux/Mac enforce case)
- Very specific: line 476
Run npm run build to catch broken image links
- Very specific: line 480
Fix: Ensure all authors and tags referenced in front matter exist:
- Distinctive: line 498
If feeds are invalid, check:
- Very specific: line 532
If still broken: Delete node_modules/.cache, then restart.
- Very specific: line 540
Follow .github/instructions/website.blog.instructions.md for content requirements.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AKS Engineering Blog - Website Module Guide
Scope: Module-specific guidance for the
website/directory. For Blog Posts: See.github/instructions/website.blog.instructions.mdFor Repo Standards: See.github/copilot-instructions.md
Quick Start
Prerequisites: Node.js >= 18.0, npm 9+
cd website
npm install # Install dependencies (first time or when deps change)
npm start # Dev server (http://localhost:3000) with hot reload
npm run build # Production build → build/ directory
npm run typecheck # TypeScript validation (catch before PR)
npm run clear # Clear build cache (use if hot reload broken)First time? Start with npm start, then create a post in blog/YYYY-MM-DD-slug/index.md. Changes hot-reload in browser.
Architecture Overview
Technology Stack
- Framework: Docusaurus 3.8.1+ (blog-only mode, docs disabled)
- React: 19.0.0
- TypeScript: 5.6.2
- Node.js: >= 18.0
- Deployment: Static site generation
Key Design Decisions
- Blog-first: Root path
/serves blog listing (docs module disabled) - Purple branding: Custom theme (
#9f62eb) with dark mode support - Privacy-first: GDPR cookie consent, analytics opt-in (GA4 only loads after consent)
- SEO-optimized: RSS/Atom feeds auto-generated, meta descriptions, social cards, sitemap
- Type-safe: Full TypeScript coverage with strict mode
- Static generation: All pages pre-rendered at build time → deployed to Azure Static Web Apps
- No external build step for posts: Drop
YYYY-MM-DD-slug/index.md+ runnpm run build
Directory Structure
website/
├── blog/ # Blog content (Markdown/MDX)
│ ├── YYYY-MM-DD-slug/ # Post directories
│ │ ├── index.md # Post content
│ │ └── *.{png,jpg} # Post assets
│ ├── authors.yml # Author metadata
│ ├── tags.yml # Tag definitions
│ └── linters/ # Content validation
├── src/
│ ├── components/ # React components
│ │ ├── CookieConsent.tsx # GDPR banner
│ │ └── CookieConsent.css
│ ├── pages/ # Custom pages
│ │ └── webinars.tsx # Community webinar page
│ ├── theme/Root/ # Global layout wrapper
│ ├── utils/analytics.ts # GA4 helpers
│ ├── css/custom.css # Global styles (purple theme)
│ └── js/consentModule.ts # Consent management
├── static/ # Static assets
│ ├── img/ # Logos, favicons, social cards
│ └── webinars/agenda/ # Monthly agendas (YYYY-MM.md)
├── docusaurus.config.ts # Main configuration
├── package.json # Dependencies & scripts
├── tsconfig.json # TypeScript config
└── AGENTS.md # This fileCritical File Locations
| Purpose | Path |
| Blog posts | blog/YYYY-MM-DD-slug/index.md |
| Authors | blog/authors.yml |
| Tags | blog/tags.yml |
| Site config | docusaurus.config.ts |
| Theme | src/css/custom.css |
| Analytics | src/utils/analytics.ts |
| Cookie consent | src/components/CookieConsent.tsx |
| Webinars | src/pages/webinars.tsx |
Development Workflow
Adding a Blog Post
See .github/instructions/website.blog.instructions.md for content guidelines and writing style.
Quick steps:
- Create
blog/YYYY-MM-DD-slug/index.md - Add front matter:
title,date,description,authors,tags - Add
<!-- truncate -->after intro paragraphs - Place images in same directory (
./image.png) - Preview:
npm start - Validate:
npm run build
Front Matter
See .github/instructions/website.blog.instructions.md for required and optional fields.
Component Development
// src/components/MyComponent.tsx
import React from 'react';
import ExecutionEnvironment from '@docusaurus/ExecutionEnvironment';
import Link from '@docusaurus/Link';
import Layout from '@theme/Layout';
import styles from './MyComponent.module.css';
export default function MyComponent(): JSX.Element {
// Guard browser APIs (server-side render safety)
const [clientReady, setClientReady] = React.useState(false);
React.useEffect(() => setClientReady(true), []);
return (
<Layout title="Page Title" description="Meta description">
<div className={styles.container}>
{clientReady && <p>Browser-only content here</p>}
</div>
</Layout>
);
}Best Practices:
- ✅ Use TypeScript (
.tsx) — build will catch errors - ✅ CSS Modules (
.module.css) — all styles scoped locally - ✅ Import from
@theme/Layout,@theme/Heading— uses Docusaurus theme system - ✅ Use
@docusaurus/Linkfor internal links (handles routing) - ✅ Guard browser APIs with
ExecutionEnvironment.canUseDOMoruseEffect - ❌ Don't use browser APIs directly in render (causes SSR errors)
- ❌ Don't import CSS directly; use CSS Modules instead
Customizations
1. Purple Theme (src/css/custom.css)
--ifm-color-primary: #9f62eb; /* Brand purple */
--ifm-color-primary-dark: #8e42e6; /* Hover states */
--ifm-color-primary-darkest: #6f2bc7; /* Footer */Typography: Inter (body), JetBrains Mono (code)
2. Cookie Consent System
Components:
src/components/CookieConsent.tsx- Banner UI (shows on first visit)src/utils/analytics.ts- GA4 configuration & trackingsrc/js/consentModule.ts- Consent state management (localStorage)
Consent Flow:
- User visits → Banner appears (if no prior choice)
- User clicks "Accept" or "Reject" → Choice saved to
localStorage - If accepted:
- GA4 script loads and initializes
- Consent event sent to Google Analytics
- Page views and events tracked normally
- If rejected:
- No GA4 script loads
- No analytics collected
- Default (if user dismisses banner without clicking): Analytics denied
Updating GA4 Tracking ID:
// src/utils/analytics.ts
export const GA_CONFIG = {
trackingId: 'G-XXXXXXXXXX', // Get from Google Analytics > Admin > Data Streams
anonymizeIP: true,
} as const;Testing Analytics:
- Open DevTools → Application → Cookies → find
aks-consent-choice - Delete cookie → reload → banner appears
- Accept → check Network tab for
gtag/jsscript loading - Reject → confirm no
gtag/jsrequest
Privacy Compliance: All analytics disabled by default. Only GA4 used (no third-party trackers). User consent stored locally, never shared.
3. Webinar Page (src/pages/webinars.tsx)
Data Sources:
- Timezone cards: Hardcoded
timezoneCallsarray in component (edit directly) - Monthly agendas:
static/webinars/agenda/YYYY-MM.md(parsed at build time)
Agenda Format (YYYY-MM.md):
---
month: October 2025
---
## Topic Title
Presenter: Name, Title
Description: Brief summary
Featured: true
- Key point 1
- Key point 2
## Q&A Session
Description: Open floor for questionsParsing Rules:
- Frontmatter MUST include
month:field - Each section intro is a
## Heading - Optional lines (in any order):
Presenter:,Description:,Featured: true - Bullet points (
- text) collect into a list - Blank lines ignored
- First matching section becomes the topic
Fallback Behavior: If current month file missing, component steps backward up to 3 months to find latest available agenda. This ensures agenda always displays even before current month is created.
Maintenance:
- Create
2025-11.mdbefore November community call - No need to delete old months—component finds latest automatically
- Update timezone cards if meeting times/links change
4. Root Wrapper (src/theme/Root/)
Injects <CookieConsent /> globally on all pages.
Content Management
Authors (blog/authors.yml)
author-key:
name: Full Name
title: Job Title
url: https://linkedin.com/in/username
image_url: https://github.com/username.png
page: true # Generate author page
socials:
x: twitter_handle
linkedin: linkedin_username
github: github_usernameUsage: authors: [author-key] in front matter
Tags (blog/tags.yml)
tag-key:
label: Display Name
permalink: /tag-url
description: SEO description for tag pageCommon tags: aks, kubernetes, ai, networking, security, storage, observability, troubleshooting, gpu, istio, open-source
Usage: tags: [tag1, tag2] in front matter
Navigation
Navbar: Posts (/) | Tags | Resources (dropdown) | Releases | Roadmap | GitHub
Footer: Resources | Community | More (Roadmap, FAQ, RSS, Contact)
Common Tasks
Add Author
# Edit blog/authors.yml
john-doe:
name: John Doe
title: Senior Engineer, AKS
url: https://linkedin.com/in/johndoe
image_url: https://github.com/johndoe.png
page: true
socials:
github: johndoe
linkedin: johndoeAdd Tag
# Edit blog/tags.yml
new-topic:
label: New Topic
permalink: /new-topic
description: Brief SEO descriptionUpdate Webinar Agenda
cat > static/webinars/agenda/2025-11.md << 'EOF'
---
month: November 2025
---
## Feature Highlight
Presenter: Jane Smith, PM Lead
Featured: true
- Topic overview
- Key benefits
EOFCustomize Theme Colors
/* Edit src/css/custom.css */
:root {
--ifm-color-primary: #YOUR_COLOR;
/* Update all color variations */
}Build & Deployment
Build Process
npm run build
# 1. Compile TypeScript + React (typecheck first)
# 2. Generate static HTML for all pages
# 3. Optimize CSS/JS bundles (minify, code-split)
# 4. Create RSS + Atom feeds from blog metadata
# 5. Copy rss.xml → feed.xml (RSS alias for compatibility)
# 6. Output: build/ directory ready for deploymentFeed Generation:
- RSS feed:
build/rss.xml(standard RSS format with post summaries) - Atom feed:
build/atom.xml(alternative feed format) - RSS alias:
build/feed.xml(copiesrss.xmlfor backward compatibility) - Generated from post front matter:
title,date,description,authors - Posts with
draft: trueexcluded from feeds
Feed Testing:
npm run build
# Verify feeds exist and are valid XML
file build/rss.xml build/feed.xml build/atom.xml
# Should output: XML document textOutput Structure
build/
├── index.html # Blog listing
├── tags/ # Tag pages
├── blog/YYYY/MM/DD/ # Post pages
├── rss.xml # RSS feed
├── feed.xml # Alias
├── atom.xml # Atom feed
└── assets/ # Optimized CSS/JS/imagesDeployment Config
- Base URL:
/(root) - Trailing slashes: Disabled
- Broken links: Fail build
- Target: Azure Static Web Apps
SEO Features
Automatic:
- RSS/Atom feeds with full post metadata (discoverable by feed readers)
- Sitemap generated at build time (
build/sitemap.xml) - Edit links to GitHub (helps crawlers understand content history)
- Canonical URLs (prevent duplicate content issues)
- Meta descriptions from front matter
Manual Setup (in front matter):
description: "1–2 sentence summary (150–160 chars for Google preview)"
keywords: ["AKS", "Kubernetes", "networking"] # Optional: for niche searchesSocial Cards:
- Social card image:
image: ./hero.pngin front matter - Falls back to default card if not specified
- Used by social media platforms (Twitter, LinkedIn, Slack, etc.)
- Recommended size: 1200x630px (16:9 aspect ratio)
Best Practices:
- Description should answer: "What will I learn from this post?"
- Include 2-3 keywords in description naturally
- Social card: Use unique images per post (avoid generic placeholders)
- Test: Use Open Graph debugger to preview social cards
Image & Media Guidelines
Image Optimization
- Format: PNG for diagrams/screenshots, JPG for photos
- Size: < 500KB per image (consider WebP for modern browsers)
- Dimensions: Max width 1200px (Docusaurus container width)
- Alt text: Always include descriptive alt text for accessibility
Embedding
# Images in same directory as index.md

# Relative paths (one level up if needed)

# Avoid external images (slower, not recommended)
Screenshots
- Use full-width examples where possible
- Highlight important areas with rectangles/arrows
- Include terminal output in code blocks instead of images (better for accessibility)
Troubleshooting
Build fails: "broken links"
Fix: Run npm run build to see exact errors. Use ./image.png for same-directory images.
Post not appearing
Check:
- Date not in future (or explicitly allowed for scheduled posts)
- No
draft: truein front matter - Author key exists in
blog/authors.yml - Tag keys exist in
blog/tags.yml - File named
index.md(notpost.md, etc.) - Restart dev server if authors/tags recently changed
Images not loading
Fix:
- Images must be in same directory as
index.md - Use relative path:
(not absolute) - Check case-sensitive filenames (Linux/Mac enforce case)
- Run
npm run buildto catch broken image links
Build fails: "Post without authors" or "Post without tags"
Fix: Ensure all authors and tags referenced in front matter exist:
npm run build # Shows exact line numbers
# Then verify entries exist in blog/authors.yml and blog/tags.ymlRSS/Atom feeds missing or invalid
Check:
npm run build
file build/rss.xml build/atom.xml build/feed.xml
# Should output: XML document text
# Also validates that posts appear in feedsIf feeds are invalid, check:
- All posts have
date:in front matter dateformat is valid:YYYY-MM-DD- No
draft: trueposts in feeds (only published posts)
Analytics not working
Check:
GA_CONFIG.trackingIdis not placeholder (starts withG-)- User accepted cookies (check
localStorage>aks-consent-choice) - No console errors (DevTools → Console tab)
gtag/jsloads (DevTools → Network tab, search for "gtag")- GA4 property is not in test mode
TypeScript errors
npm run typecheck # See all type errors with file:line referencesCommon issues:
Cannot find module '@docusaurus/...': Checknpm installcompleted successfullyType X is not assignable to type Y: Check prop types match component definition- Missing
.tsxextension: All React files must be.tsx, not.ts
Hot reload broken or styles not updating
npm run clear # Clear Docusaurus cache
npm start # Restart dev serverIf still broken: Delete node_modules/.cache, then restart.
Agent Checklist
When Adding Blog Posts
Follow .github/instructions/website.blog.instructions.md for content requirements.
Technical validation:
- ✅ Use
blog/YYYY-MM-DD-slug/index.mdstructure - ✅ All author/tag keys exist in
blog/authors.ymlandblog/tags.yml - ✅ Test locally:
npm start - ✅ Validate:
npm run build(must succeed)
When Modifying Config
- ✅ Backup current version of
docusaurus.config.tsbefore editing - ✅ Edit
docusaurus.config.tsfor navbar/footer/metadata - ✅ Edit
src/css/custom.cssfor theme colors/typography - ✅ Run
npm run typecheckand fix any errors - ✅ Test light + dark mode toggle
- ✅ Verify feeds still generate:
npm run build→ checkbuild/rss.xml
When Creating Components
- ✅ Use TypeScript (
.tsx) — no JavaScript files - ✅ CSS Modules (
.module.css) for scoped styles - ✅ Import utilities from
@theme/aliases (e.g.,@theme/Layout) - ✅ Guard browser APIs:
import ExecutionEnvironment from '@docusaurus/ExecutionEnvironment' - ✅ Use functional components with hooks (no class components)
- ✅ Test client-side rendering (SSR safety)
Quality Checks (Pre-Deployment)
- ✅
npm run buildsucceeds completely (no warnings/errors) - ✅
npm run typecheckpasses with no errors - ✅ All posts render with images correctly
- ✅ No broken internal links (build verifies)
- ✅ RSS/Atom feeds valid XML:
file build/rss.xml build/atom.xml - ✅ SEO metadata complete: description, authors, tags present
- ✅ Mobile responsive (test at 375px, 768px, 1200px widths)
- ✅ Accessibility: alt text on images, semantic HTML, color contrast
Links
- Production: https://blog.aks.azure.com\
- Repository: https://github.com/Azure/AKS\
- Docusaurus Docs: https://docusaurus.io/docs\
- Contact: brian.redmond@microsoft.com
Last Updated: 2025-11-26 Docusaurus: 3.8.1 Node: >= 18.0
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

