hypershift-quotas
Skill1 starsChanged 4 months agoApache-2.0View on GitHub
Check AWS service quotas and usage before creating HyperShift clusters — VPCs, NAT gateways, Elastic IPs, security groups, NLBs, IAM roles, and Route53 zones — and optionally request increases. Use when preparing to create clusters, when planning parallel CI capacity, or when debugging "quota exceeded" errors.
In this repository16 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- automation-health-dashboardSkill
- byo-rossoctl-cortexSkill
- dep-bump-fixerSkill
- dep-bump-scannerSkill
- github-pr-reviewSkill
- github-weekly-reportSkill
- hypershift-cleanupSkill
- hypershift-clusterSkill
- hypershift-debugSkill
- hypershift-preflightSkill
- hypershift-setupSkill
- hypershiftSkill
- link-health-fixerSkill
- link-health-scannerSkill
- repo-syncSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Check AWS service quotas and current usage to plan HyperShift cluster capacity.
- Distinctive: line 20
Before creating new HyperShift clusters
- Distinctive: line 166
Add buffer for failed cleanups that may leave orphaned resources.
- Distinctive: line 170
hypershift-cluster: Create and destroy clusters
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
AWS Quotas Check Skill
Check AWS service quotas and current usage to plan HyperShift cluster capacity.
The check-quotas.sh script lives in ../hypershift-cluster/scripts/.
When to Use
- Before creating new HyperShift clusters
- Capacity planning for parallel CI runs
- Debugging "quota exceeded" errors
- User asks "check quotas" or "can I create more clusters"
Quick Check
# Check all quotas and usage
../hypershift-cluster/scripts/check-quotas.shOutput shows:
- VPC Resources (VPCs, Internet Gateways, NAT Gateways, Elastic IPs)
- EC2 Resources (Running instances, Security Groups, Launch Templates)
- Load Balancer Resources (NLBs, Target Groups)
- S3 Resources (Buckets)
- IAM Resources (Roles, Instance Profiles)
- Route53 Resources (Hosted Zones)
Request Quota Increases
# Request increases for quotas below recommended levels
../hypershift-cluster/scripts/check-quotas.sh --request-increasesKey Quotas for HyperShift
Each HyperShift cluster typically requires:
| Resource | Per Cluster | Default Quota | Recommended |
| VPCs | 1 | 5 | 5+ |
| NAT Gateways | 3 (per AZ) | 5 | 15+ |
| Elastic IPs | 3 (for NATs) | 5 | 15+ |
| Security Groups | ~10 | 500 | 50+ |
| NLBs | 1-2 | 50 | 10+ |
| IAM Roles | ~5 | 300 | 50+ |
| Route53 Zones | 1-2 | 500 | 10+ |
Quota Status Interpretation
Output colors:
- Green: <60% used (healthy)
- Yellow: 60-80% used (monitor)
- Red: >80% used (action needed)
Recommended warnings show when quota is below the suggested minimum.
Manual Quota Check
# VPCs
aws ec2 describe-vpcs --query 'Vpcs | length(@)'
# NAT Gateways (active only)
aws ec2 describe-nat-gateways \
--filter "Name=state,Values=available,pending" \
--query 'NatGateways | length(@)'
# Elastic IPs
aws ec2 describe-addresses --query 'Addresses | length(@)'
# Security Groups
aws ec2 describe-security-groups --query 'SecurityGroups | length(@)'
# Running Instances
aws ec2 describe-instances \
--filters "Name=instance-state-name,Values=running,pending" \
--query 'Reservations[*].Instances | length(@)'Service Quota API
# Get specific quota
aws service-quotas get-service-quota \
--service-code vpc \
--quota-code L-F678F1CE \
--query 'Quota.Value'
# Common quota codes:
# VPCs: vpc / L-F678F1CE
# NAT Gateways: vpc / L-FE5A380F
# Elastic IPs: ec2 / L-0263D0A3
# Security Groups: ec2 / L-0EA8095F
# NLBs: elasticloadbalancing / L-69A177A2Request Quota Increase Manually
aws service-quotas request-service-quota-increase \
--service-code vpc \
--quota-code L-FE5A380F \
--desired-value 20 \
--region us-east-1Troubleshooting Quota Issues
"VpcLimitExceeded"
# Check VPC count and limit
aws ec2 describe-vpcs --query 'Vpcs | length(@)'
../hypershift-cluster/scripts/check-quotas.sh | grep -A2 "VPC Resources"
# Delete unused VPCs (carefully!)
aws ec2 describe-vpcs --query 'Vpcs[*].[VpcId,Tags[?Key==`Name`].Value|[0]]' --output table"AddressLimitExceeded"
# Find unused Elastic IPs
aws ec2 describe-addresses \
--query 'Addresses[?AssociationId==`null`].[AllocationId,PublicIp]' \
--output table
# Release unused EIPs
aws ec2 release-address --allocation-id <allocation-id>"NatGatewayLimitExceeded"
# Find orphaned NAT Gateways
aws ec2 describe-nat-gateways \
--filter "Name=state,Values=available" \
--query 'NatGateways[*].[NatGatewayId,State,VpcId]' \
--output tableCI Parallel Run Capacity
For CI with parallel HyperShift runs, plan quotas:
| Parallel Runs | NAT Gateways | Elastic IPs | VPCs |
| 1 | 5 | 5 | 2 |
| 2 | 8 | 8 | 3 |
| 3 | 12 | 12 | 4 |
| 4 | 15 | 15 | 5 |
Add buffer for failed cleanups that may leave orphaned resources.
Related Skills
- hypershift-cluster: Create and destroy clusters
- hypershift-debug: Debug stuck resources
- hypershift-preflight: Full pre-flight check
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.

