Modernize EKS Auto Mode: foundation updates, new examples, observability#7
Draft
utkarpun wants to merge 8 commits into
Draft
Modernize EKS Auto Mode: foundation updates, new examples, observability#7utkarpun wants to merge 8 commits into
utkarpun wants to merge 8 commits into
Conversation
The EKS module (v20.37.2) already creates the custom-tags IAM policy via enable_auto_mode_custom_tags (default true). The manual 138-line inline policy in tagging.tf was a duplicate. Remove it and make the module flag explicit in eks.tf for documentation clarity. Also bumps: K8s default 1.33→1.34, Terraform >=1.5, AWS provider >=5.79, loosens Helm/kubectl patch pins.
…e families - Upgrade consolidation from WhenEmpty/30s to WhenEmptyOrUnderutilized/60s with 10% node budget across all 4 NodePools - Add optional ephemeralStorage KMS encryption (gated by variable) - Expand GPU families to include p5, p5e (large model training) - Expand Neuron families to include trn2 (Trainium2)
…terns New examples with teaching-oriented READMEs: - cost-optimization: OD/Spot split via topology spread + overprovision headroom - capacity-reservation: ODCR targeting for GPU workloads - static-capacity: fixed-node pools via spec.replicas - batch-jobs: do-not-disrupt annotation for long-running jobs - disruption-budgets: time-windowed, reason-specific budget patterns
Adds amazon-cloudwatch-observability EKS addon gated by enable_observability variable (default false). Includes IAM policy attachment and educational README covering metrics, logs, Application Signals, and cost awareness.
Reorganize examples by category (compute, cost, scheduling, observability). Add What's New section, full configuration variables table, Learn More links. Expand Components section with Auto Mode architecture explanation and 5-layer tagging flow.
Reorder: Examples + Cleanup moved before Configuration/Components. Remove What's New section and 5-layer tagging detail from README. Fix How EKS Auto Mode Works to cover full scope (not just 3 controllers). Extract security considerations into SECURITY_CONSIDERATIONS.md.
Adds a GitHub Pages site under misc/website/ with: - Landing page with hero + feature cards - All 11 example READMEs surfaced as docs pages - Architecture section (5-layer tagging, cleanup playbook, security) - Getting started guide with configuration reference - CopyMarkdownButton component for agent users - GitHub Actions workflow for Pages deployment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
enable_auto_mode_custom_tags)enable_observability)misc/website/) with GitHub Pages deployment, landing page, all examples + architecture docs surfacedTest plan
base_domain— verify all NodePools apply, tagging works on EC2/EBS, consolidation behaves correctlybase_domain— verify external-dns, ACM cert, ALB Ingress, public hostnames all work-var='enable_observability=true') and confirm CloudWatch agent pods + dashboard./scripts/cleanup.sh— no orphans remainterraform planon existing live cluster shows clean diff (IAM policy removal + local_file changes only)cd misc/website && npm ci && npm run build)