-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrade EKS to Kubernetes 1.29 #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -16,7 +16,7 @@ dependency "vpc" { | |||||||||||||
|
|
||||||||||||||
| inputs = { | ||||||||||||||
| cluster_name = "prod-eks-cluster" | ||||||||||||||
| kubernetes_version = "1.28" | ||||||||||||||
| kubernetes_version = "1.29" | ||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Verify no workloads use deprecated Kubernetes APIs before upgrading. Based on external tools context: Kubernetes 1.29 includes breaking changes - the deprecated Run the following script to check for usage of deprecated APIs in the cluster: #!/bin/bash # Description: Check for deprecated API usage in Kubernetes manifests and cluster resources # Note: This requires kubectl access to the prod cluster echo "=== Checking for deprecated flowcontrol API usage in manifests ===" # Search for deprecated API in local manifests/helm charts rg -n "flowcontrol\.apiserver\.k8s\.io/v1beta2" --type=yaml -C3 echo "" echo "=== Checking cluster for deprecated API usage (requires kubectl) ===" echo "Run these commands with cluster access:" echo "kubectl get flowschemas.v1beta2.flowcontrol.apiserver.k8s.io 2>&1" echo "kubectl get prioritylevelconfigurations.v1beta2.flowcontrol.apiserver.k8s.io 2>&1" Based on learnings from external tools: The deprecated API must be migrated before the upgrade can proceed safely. 🤖 Prompt for AI Agents🧩 Analysis chain🔍 Additional research query:
💡 Result: No relevant context found from external knowledge sources. 🔍 Additional research query:
💡 Result: Search ResultsI found the following documents in your Notion workspace related to your search: EKS Version Management PolicyDocument Details:
Key Information:
Version Matrix:
Upgrade Process Requirements:
Other Related Documents Found:
🏁 Script executed: # Explore the repository structure to understand the codebase better git ls-files | head -20 Repository: coderabbitai/rabbits-playground Length of output: 572 🏁 Script executed: # Check the actual content of the file to understand context
head -30 prod/eks/terragrunt.hclRepository: coderabbitai/rabbits-playground Length of output: 875 🏁 Script executed: # Search for any policy documents or approval requirements in the repo find . -type f -name "*policy*" -o -name "*approval*" -o -name "*VERSION*" | grep -v ".git" Repository: coderabbitai/rabbits-playground Length of output: 57 🏁 Script executed: # Look for any documentation about K8s version requirements fd -t f -e md -e txt | xargs rg -l "kubernetes.*1\.(28|29)|version.*management" 2>/dev/null | head -10 Repository: coderabbitai/rabbits-playground Length of output: 57 🔍 Additional research query:
💡 Result: No relevant context found from external knowledge sources. 🏁 Script executed: # Check git history to see if there are related commits or PRs git log --oneline --all -- prod/eks/terragrunt.hcl | head -10 Repository: coderabbitai/rabbits-playground Length of output: 136 🏁 Script executed: # Look for any approval or exception documentation in the repo rg -i "exception|approved.*1\.29|kubernetes.*upgrade" --type md --type txt 2>/dev/null | head -20 Repository: coderabbitai/rabbits-playground Length of output: 57 🏁 Script executed: # Check if there are comments or documentation in the file itself cat -n prod/eks/terragrunt.hcl | head -40 Repository: coderabbitai/rabbits-playground Length of output: 1135 CRITICAL: This upgrade violates the EKS Version Management Policy. Your organization's EKS Version Management Policy (Platform Engineering Team, Active) explicitly requires all production EKS clusters to run Kubernetes 1.28 until Q2 2025. This change to 1.29 in prod-eks-cluster directly conflicts with that policy. The documented upgrade process mandates:
No evidence of these approvals exists in the PR. Actions required:
|
||||||||||||||
| vpc_id = dependency.vpc.outputs.vpc_id | ||||||||||||||
| private_subnet_ids = dependency.vpc.outputs.private_subnet_ids | ||||||||||||||
| public_subnet_ids = dependency.vpc.outputs.public_subnet_ids | ||||||||||||||
|
|
||||||||||||||