Logo Eks Ingress Migration

Eks Ingress Migration

Tổ chức
aws-samples
eks-ingress-migration

Đánh giá các thành phần NGINX/Ingress trên cụm EKS đang hoạt động và lập kế hoạch di chuyển sang Gateway API, AWS Load Balancer Controller (ALB Ingress) hoặc AWS Transform (ATX). Phát hiện các ingress controller và route, chấm điểm độ khó di chuyển từ 0–100 với một bước đánh giá riêng về việc có cần tái kiến trúc hay không, đồng thời tạo báo cáo cho từng cụm cùng các manifest sẵn sàng áp dụng. Dùng khi có người hỏi “chuyển khỏi nginx ingress có khó không?”, “đánh giá việc di chuyển ingress của tôi”, “di chuyển nginx sang ALB hoặc Gateway API”, “kiểm toán việc di chuyển ingress” hoặc “kế hoạch ngừng sử dụng nginx ingress”. Không dùng để đánh giá mức độ sẵn sàng nâng cấp (eks-upgrade-check), kiểm toán vận hành (eks-operation-review), khám phá cụm nói chung (eks-recon) hoặc tư vấn cấu hình ingress chung không liên quan đến đánh giá di chuyển.

Add to TypingMind

Tổng quan

Nhà phát hànhaws-samples
Kho mãsample-apex-skills
Tên kỹ năngeks-ingress-migration
Sao
90
Bản fork
20
Tệp đi kèm
33
Giấy phépMIT-0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 33 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được aws-samples công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Eks Ingress Migration trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/aws-samples/sample-apex-skills/tree/main/devops-agent/eks-ingress-migration
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aws-samples/sample-apex-skills.git /tmp/sample-apex-skills
mkdir -p .claude/skills
cp -r /tmp/sample-apex-skills/devops-agent/eks-ingress-migration .claude/skills/eks-ingress-migration
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Eks Ingress Migration trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Eks Ingress Migration ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Eks Ingress Migration với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

EKS Ingress Migration Skill

Overview

This skill assesses your live EKS cluster's current Ingress architecture and evaluates migration options. It discovers what ingress controllers are running, maps the routing topology, identifies risks, and presents the findings so your team can decide the best migration path.

This is an assessment tool, not a decision-maker. The skill presents findings and options — the migration strategy and readiness decision belongs to the user's DevOps team.

All operations are read-only — this skill never modifies your cluster. It reports what the migration would require; the cluster owner performs every mutating step.

Execution model — autonomous with hard stops. This skill runs autonomously and does NOT pause for interactive input. It proceeds only when the target cluster is unambiguous. If a gating criterion in Step 0 is not met, it performs a HARD STOP: it does NOT guess, auto-select, or partially assess — it emits the structured stop message and ends without producing a score. Once Step 0 passes, it runs the assessment, the report, and the export materials to completion without pausing.

Migration options assessed:

OptionStatusNotes
Gateway API (HTTPRoute + Gateway)✅ AssessedOfficial Kubernetes successor to Ingress. Needs a self-managed AWS LB Controller at ≥ v3.0.0 (the production floor — L4/L7 reconciliation began at v2.13.3 / v2.14.0, which upstream flagged as not for production). Not provided by EKS Auto Mode's built-in controller.
AWS Load Balancer Controller (ALB Ingress)✅ AssessedStay on Ingress API but swap NGINX→ALB. Gets WAF, Cognito, Shield.
AWS Transform (ATX) — Automated✅ IncludedTD included. For customers with ATX access — fully automated manifest rewriting.

Workflow

Pre-flight → Assess (7 sections) → Routing Topology → Markdown Report (inline) → Export Materials (inline)
  1. Pre-flight — Discover cluster, validate permissions
  2. Assessment — Run 7 sections, collect findings and topology data
  3. Routing Topology — Compile the collected topology data (nodes, controllers, ingresses, services) into the Routing Topology table and the machine-readable topology artifact
  4. Markdown Report — Render the report for the assessed cluster inline in the response. It leads with the Migration Difficulty Score (0–100) — a deterministic roll-up of the per-finding Impact ratings (high = easy to leave NGINX, low = hard / high business impact). See references/report-generation.md Step 1.
  5. Export Materials — Render ready-to-apply YAML inline, in apply order:
    • current/ — existing Ingress resources (clean, no status fields)
    • target/gateway-api/ — Gateway API resources (GatewayClass, Gateway, HTTPRoute) in apply order
    • target/alb/ — ALB Controller Ingress resources (converted annotations)

Important: After assessment completes, proceed directly to report generation and manifest export. Do NOT pause to ask the user — produce all outputs automatically.

What Gets Assessed

AreaKey Checks
Ingress DiscoveryControllers, versions/EOL/CVE, IngressClass, inventory, EKS Auto Mode detection
Ingress Resource AnalysisAnnotations, path rules, TLS, backends — conversion complexity
DNS & Certificatesexternal-dns, cert-manager, ACM — Gateway API source support
Traffic & RoutingRouting patterns, advanced features, mapping to HTTPRoute
Migration RiskDowntime risk, feature gaps, rollback plan

Report Structure (6 Section Groups)

The report is one inline markdown document. These six groups are its top-level sections, in this order.

Section GroupContains
OverviewCluster info table, Migration Difficulty Score (headline score + Score Breakdown), Executive Summary, Impact Indicator (rubric, before Assessment Summary)
Assessment SummaryAssessment Summary table (Impact-ordered), Current Configuration, Ingress Discovery
Routing TopologyRouting table (per-route line items + Impact), Traffic & Routing
Migration ApproachMigration Options (Option 1 Gateway API, Option 2 ALB, Option 3 ATX — consistent panels), Blockers, Recommendations
AnalysisIngress Resource Analysis, DNS & Certificates Analysis, Migration Risk
ReferencesExport Materials (generated manifests, rendered inline), AWS Reference Links

Reference Files

Before executing checks for any section, read the corresponding reference file from the references/ directory.

User RequestReference File
Full migration assessmentALL files in order. gateway-api.md, lbc-migrate-toolkit.md, alb-migration.md and atx-guide.md are not read during the discovery/scoring pass — they are loaded later, at report-generation and export time, for whichever migration option(s) the findings select (export rule 7 reads alb-migration.md for the ALB target). Skipping them up front keeps the assessment pass lean; it does not mean they go unused.
What ingress controllers do I have?references/ingress-discovery.md
Analyze my Ingress resourcesreferences/ingress-resources.md
DNS / certs / TLSreferences/dns-certificates.md
Routing complexityreferences/traffic-routing.md
Migration risksreferences/migration-risk.md
Migration planreferences/migration-plan.md
Generate reportreferences/report-generation.md
Gateway API migration path / prerequisitesreferences/gateway-api.md
Gateway API automation (LBC Ingress → Gateway API lbc-migrate toolkit)references/lbc-migrate-toolkit.md
ALB Controller migration pathreferences/alb-migration.md
AWS Transform (ATX) automated pathreferences/atx-guide.md

Tool Usage Rules

  1. Do NOT begin cluster API calls when this skill is first activated. Start only when the user's request actually asks for an ingress assessment.
  2. Do NOT hardcode or guess cluster names. Always discover by listing first.
  3. Do NOT retry a failed API call more than once.
  4. Always load the relevant reference file before executing checks.
  5. Only rate based on what was actually observed — never assume.
  6. If a check fails or returns no data, mark UNKNOWN. A read denied by RBAC or IAM is UNKNOWN — never a negative finding (see Degraded Reads below).
  7. Every high-impact (4–5) finding must have a specific, actionable recommendation.
  8. Collect topology data during assessment — every Ingress host, path, backend, controller, namespace, and the nodes (EC2 instances). This feeds the Routing Topology table and the topology artifact.
  9. Do NOT paste raw YAML/config in findings. Summarize what was found. (Export Materials is the one place full YAML belongs.)
  10. Use tables for all structured data. No prose lists of facts.
  11. No filler text. Go straight to content.
  12. Every finding cell: max 2 sentences.
  13. No ASCII art diagrams. The Routing Topology table carries the per-route structure.
  14. No ID column in tables. Remove all "ID" columns.
  15. Multi-value cells: use <br> for line breaks, not commas.
  16. Executive Summary must be bullet points — precise and comprehensive.
  17. Never execute a mutating command. Cutover, CRD installs, lbc-migrate applies, and cleanup steps appear in the report as instructions for the cluster owner to run — this runtime has no shell and this skill is read-only regardless.

Skill Files

All relative paths in this skill are relative to this skill's directory (the directory containing this SKILL.md).

PathContents
references/*.mdAssessment logic, loaded on demand per the routing table above
assets/samples/nginx/, assets/samples/alb/Before/after Ingress examples (ATX input and output)
assets/atx/td_ingress-nginx-lbc/The AWS Transform Definition and its supporting documents

There is no tools/ directory and no report-conversion script — script execution is not available in this runtime. Reports and manifests are rendered inline in the response; this runtime cannot write files, so never state that output was saved to a path.

Prerequisites

Required IAM permissions (Agent Space role)

A ready-to-use policy document is at references/iam-policy.json — attach it to your Agent Space execution role. It grants read-only AWS control-plane access only. It intentionally does not grant eks:AccessKubernetesApi: Kubernetes-API authentication comes from the EKS access entry, not from IAM.

ServiceActions (read-only)Purpose
EKSListClusters, DescribeCluster, ListAddons, DescribeAddonCluster config, Auto Mode detection, add-on inventory
EC2DescribeRegions, DescribeInstances, DescribeRouteTables, DescribeSecurityGroups, DescribeSubnetsRegion discovery, node facts for topology, egress sanity check, IP-allowlist workaround feasibility, and subnet tag/placement checks for ALB provisioning (alb-migration.md prerequisites)
ELBelasticloadbalancing:Describe*ALB/NLB inventory, target groups and target health (verifying whether a controller still serves traffic)
CloudWatchGetMetricData, GetMetricStatisticsLoad-balancer request metrics — the evidence that decides whether an orphaned Ingress is genuinely dead before its finding is downgraded. Without it that check degrades and the estate is scored fail-closed as live, which is safe but pessimistic
ACMListCertificates, DescribeCertificateTLS certificate inventory for the ALB/Gateway path
Route 53ListHostedZones, ListResourceRecordSetsDNS ownership and cutover feasibility
IAMGetRole, ListAttachedRolePolicies, ListOpenIDConnectProvidersController IRSA role inspection

Kubernetes API access

Cluster reads come from an EKS access entry binding the Agent Space role to a cluster-access policy (devops-agent/setup.sh associates AmazonAIOpsAssistantPolicy); the cluster's authenticationMode must include API.

Do not assume the managed policy's coverage — verify it. As of 2026-08-30, AmazonAIOpsAssistantPolicy is listed among the available cluster-access policies in the EKS reference but its rules are not enumerated there, unlike most access policies on that page (AmazonARCRegionSwitchScalingPolicy is likewise unenumerated) (Review access policy permissions). So the exact API groups it grants are unconfirmed from an authoritative source. This skill therefore treats every Kubernetes read as possibly denied and fails closed (below) rather than relying on assumed coverage. To make the outcome deterministic, bind the supplementary read-only ClusterRole in references/supplementary-rbac.md, which grants exactly the reads this skill needs, and confirm with kubectl auth can-i.

Secret contents are never read. TLS posture is inferred from the secretName references in Ingress.spec.tls[] plus the ACM inventory — the skill needs to know that a route terminates TLS from a Kubernetes Secret, never the key material. Do not request or read Secret data.

These reads are the ones most likely to be denied. The sibling eks-recon port records — unverified against AWS documentation — that the policy grants read-only get/list on built-in API groups only and no CRD groups. If that holds, each read below returns 403 Forbidden without a supplementary ClusterRole:

ReadAPI groupNeeded for
GatewayClass, Gateway, HTTPRoutegateway.networking.k8s.ioGateway API adoption state, gatewayApi block in the topology artifact
CustomResourceDefinitionapiextensions.k8s.ioWhether Gateway API CRDs are installed, and their version
ValidatingWebhookConfigurationadmissionregistration.k8s.ioThe ingress-nginx admission-webhook exposure tri-state (CVE-2025-1974)
TargetGroupBindingelbv2.k8s.awsAWS LB Controller route ownership

See references/supplementary-rbac.md for the supplementary ClusterRole that grants them.

Degraded reads — fail closed, never fail clean

A denied or failed read is never evidence of absence:

  • Webhook exposure — if ValidatingWebhookConfiguration or the controller's arguments cannot be read, the tri-state resolves to Unverified, which is treated as exposed for scoring. Never conclude "not exposed" from a denied read (references/ingress-discovery.md §1.4).
  • Gateway API state — if the CRD or Gateway-resource reads are denied, report Gateway API adoption as unconfirmed, never as "not installed" / crdsInstalled: false.
  • Everything else — mark the finding UNKNOWN and state which read was denied and what to grant.

Assessment Workflow

Input

The user provides an AWS Account ID (12-digit number), a cluster name, or neither. The skill discovers EKS clusters across the account's enabled regions and assesses the unambiguously-identified cluster.

HARD STOP output format — whenever a criterion below triggers a hard stop, output exactly this and end the run (produce no score, no report):

## Assessment Halted — <one-line reason>

**Criterion not met:** <which check failed>
**What was found:** <observed state>
**To proceed:** <the specific input needed, e.g. re-run naming the cluster + region>

Step 0: Pre-flight

Action 1 — Verify account access

Resolve the caller identity. If the user supplied an account ID and it does not match the caller's account → HARD STOP (the agent is pointed at a different account than the user believes).

Action 2 — Discover EKS clusters across regions

Enumerate the account's enabled regions (EC2 DescribeRegions), then scan each with EKS ListClusters. Compile a discovery table:

#ClusterRegionVersionStatus
1cluster-aap-southeast-11.29ACTIVE
2cluster-bus-east-11.28ACTIVE

Then apply this decision table:

ConditionAction
User named a clusterConfirm it exists in the discovery table, then proceed. If it does not exist → HARD STOP.
Exactly one cluster found, none namedProceed. State which cluster is being assessed.
More than one cluster found, none namedHARD STOP. Show the discovery table. Do NOT auto-select by first/newest/largest or any other heuristic, and do NOT assess all of them.
Zero clusters foundHARD STOP. Report that no EKS clusters exist in the account's enabled regions.

Action 3 — Describe the selected cluster

EKS DescribeCluster. Record name, version, platform version, region, status, endpoint access, account ID.

Account ID hygiene: the account ID is sensitive. If the report will be shared outside the account, mask or omit it.

If cluster status is not ACTIVE → HARD STOP: a cluster mid-transition or FAILED cannot be assessed reliably.

Action 4 — Validate permissions

ReadRequired permissionIf denied
EKS ListAddonseks:ListAddonsHARD STOP — core inventory unavailable
Kubernetes Ingress (networking.k8s.io/v1)K8s RBAC get/list on ingressesHARD STOP — the estate cannot be enumerated, so no score is defensible
Kubernetes IngressClass (networking.k8s.io/v1)K8s RBAC get/list on ingressclassesHARD STOP — controller/route binding cannot be established
Kubernetes Deployment (apps/v1, all namespaces)K8s RBAC get/list on deploymentsHARD STOP — controller presence/health cannot be established

Optional reads (degrade gracefully — mark UNKNOWN, never absent):

ReadRequired permissionIf missing
ACM ListCertificatesacm:ListCertificatesMark 4.3 UNKNOWN
Route 53 ListHostedZonesroute53:ListHostedZonesMark 4.1 UNKNOWN
IAM GetRoleiam:GetRoleMark UNKNOWN
ValidatingWebhookConfigurationK8s RBAC on admissionregistration.k8s.ioWebhook tri-state → Unverified (treated as exposed)
Gateway API resources / CRDsK8s RBAC on those CRD groupsGateway API adoption → unconfirmed

Action 5 — Verify Kubernetes API reachability

List Node (core/v1) for the target cluster. If the Kubernetes API is unreachable — no access entry, authenticationMode excludes API, or the endpoint is private and unreachable from the Agent Space → HARD STOP. Do not fall back to an AWS-control-plane-only assessment: the estate lives in the Kubernetes API, and a control-plane-only view would silently under-report routes.

Action 6 — Cluster health gate (read-only) — REQUIRED before assessing

An assessment of an unhealthy cluster is misleading. Verify, read-only:

  1. Nodes Ready: list Nodes and flag any not Ready (Auto Mode may have 0 nodes until a workload schedules; note that separately).
  2. Ingress controllers healthy: for each controller Deployment, confirm availableReplicas > 0 and no pods in ImagePullBackOff / ErrImagePull / CrashLoopBackOff. If a controller is unhealthy, verify before you conclude it is dead: for ingress-nginx confirm all replicas are down (a multi-replica controller can serve while one pod crashloops); for the AWS LB Controller check the ALB/target-group state (the ALB keeps serving while the pod is down). A broken controller with bound routes is a suspected active outage — surface it first, as an urgent flag, outside the migration score; with zero bound routes it is tech debt (1). Either way its routing claims cannot be trusted until verified.
  3. Egress sanity (if pods can't pull): cluster-wide ImagePullBackOff usually means broken node egress. Optionally inspect the node subnets' route table for a blackhole default route (deleted NAT gateway) via EC2 DescribeRouteTables. Report it as an environment caveat — do not attempt to fix it (read-only).

Action 7 — Detect EKS Auto Mode (read-only)

Read cluster.computeConfig from EKS DescribeCluster. Auto Mode is enabled when computeConfig.enabled = true. On Auto Mode, recognize the managed load-balancing IngressClass eks.amazonaws.com/alb (parameters apiGroup: eks.amazonaws.com, kind: IngressClassParams) and loadBalancerClass: eks.amazonaws.com/nlb — these are built-in, not a self-managed AWS LB Controller. Record Auto Mode status in Current Configuration; it changes Migration Options guidance (ALB path needs no LBC install). But Auto Mode is not annotation-for-annotation equivalent to a self-managed LBC — AWS documents a subset as "Not supported", including alb.ingress.kubernetes.io/auth-type: oidc, group.name (IngressClass-only), the waf-acl-id/web-acl-id family, and dry-run-plan; ListenerAttribute cannot be set at all (which removes the static-CORS response-header workaround). So "no LBC install needed" must not be reported as "same capabilities": check each annotation the estate relies on against the Auto Mode annotation table and flag any gap as a finding.

Steps 1–7: Run Assessment

For the selected cluster, run the full assessment:

  1. Read each reference file in order
  2. Execute the checks
  3. Score each item by Impact (0–5) per the Impact Indicator
  4. Collect topology data — Ingress resources, controllers, backend services, and Node information (instance IDs, instance types)

Step 8: Routing Topology

  1. Compile the topology data collected during Steps 1–7.
  2. Render the Routing Topology table (per-route line items + Impact) in the report.
  3. Emit the topology artifact as one fenced json block in the report's References section, using the schema below. It is a machine-readable hand-off for other skills and for the Claude Code skill's HTML renderer — do NOT claim it was written to a file.

Topology artifact schema:

CRITICAL — controller naming contract: Every controllers[].name MUST be exactly equal to the value used in ingresses[].controller (i.e. the IngressClass name: nginx, alb, nginx-legacy, etc.). Consumers join each ingress to its controller by exact name match — if they differ, the ingress is unlinked and its routes will appear to belong to no controller (there is no fallback to the first controller). The Routing Topology table must use the same names, so a reader can join the table and the artifact. Use displayName for the human-readable deployment name (e.g. ingress-nginx-controller).

json
{
  "cluster": "name",
  "region": "ap-southeast-1",
  "nodes": [
    { "name": "ip-10-0-1-100.ec2.internal", "instanceId": "i-0abc123def456", "instanceType": "m5.xlarge", "zone": "ap-southeast-1a" }
  ],
  "controllers": [
    { "name": "nginx", "displayName": "ingress-nginx-controller", "namespace": "ingress-nginx", "version": "1.9.6", "type": "deployment" }
  ],
  "ingresses": [
    {
      "name": "my-app", "namespace": "default", "controller": "nginx",
      "hosts": ["app.example.com"],
      "paths": [{ "path": "/api", "pathType": "Prefix", "backend": "api-svc", "port": 80 }],
      "tls": true, "annotations": {"key": "value"}
    }
  ],
  "services": [
    { "name": "api-svc", "namespace": "default", "type": "ClusterIP", "ports": [80] }
  ],
  "gatewayApi": {
    "crdsInstalled": true,
    "gatewayClasses": [],
    "gateways": [],
    "httpRoutes": []
  }
}

If the Gateway API reads were denied, set "gatewayApi": { "readStatus": "unconfirmed" } rather than reporting crdsInstalled: false.

Step 9: Generate the Report

Read references/report-generation.md and render the report inline in your response, following its template exactly.

Use this pattern as the report's title, not as a saved filename:

EKS-Ingress-Migration-<cluster>-<YYYY-MM-DD>-<HHMM>

There is one delivery path: the full markdown report, inline. Do NOT write files, do NOT run a conversion script, and do NOT offer an HTML rendering as something this skill produces. The interactive HTML dashboard (with the 3D routing diagram) exists only in the Claude Code build of this skill; if the user wants it, they run that build against the same cluster.

Step 10: Export Materials

For a cluster that has Ingress resources, render the manifests inline as fenced yaml blocks in the report's References section, grouped and labelled by the target layout below. Nothing is written to disk — the labels are the grouping the cluster owner should reproduce locally.

current/
└── <namespace>-<ingress-name>.yaml
target/
├── gateway-api/
│   ├── 00-gateway-api-crds.yaml     (comment-only: install command)
│   ├── 01-gatewayclass.yaml
│   ├── 02-gateway.yaml
│   ├── 03-httproute-<name>.yaml
│   └── 04-referencegrant-<name>.yaml  (only if needed)
└── alb/
    └── <namespace>-<ingress-name>.yaml

Rules:

  1. current/ — Each Ingress as clean YAML (strip status, managedFields, resourceVersion, uid, creationTimestamp, generation)
  2. target/gateway-api/ — Gateway API manifests in numbered apply order with comments
  3. target/alb/ — ALB Controller Ingress manifests (annotation-converted)
  4. 00-gateway-api-crds.yaml — Comment-only, carrying the install command for the cluster owner to run
  5. All manifests must be valid kubectl apply -f input for the cluster owner to apply — this skill never applies them
  6. Skip clusters with 0 Ingress resources (nothing to export)
  7. For the ALB target, apply the annotation mapping from references/alb-migration.md
  8. Volume guard (inline rendering has a practical size limit): with 10 or fewer Ingress resources, render all of them. Above 10, render the shared target resources (GatewayClass, Gateway) plus current/ and target/ for the 10 highest-Impact routes, then list the remaining routes by namespace/name in a table and state that they follow the same conversion rules and can be rendered on request. Never silently truncate — the count rendered and the count deferred must both appear.

Rating Rubric

Score every finding by Impact 0–5 using the Impact Indicator rubric (defined in the report, before Assessment Summary). Set severity by priority order: (1) business logic / revenue — the live traffic at stake · (2) security / reputation · (3) effort to remediate. Effort is NOT a severity driver — never move a score because a fix looks easy or hard. Presence is decided by estate state: an absent controller / empty estate / orphaned dead config is a non-event (0); a present-but-broken controller with zero bound routes is tech debt (1) + cleanup note, while broken with bound routes is a suspected active outage flagged urgently outside the 0–100 score. Carve-out: a running controller with a control-plane CVE (e.g. an admission-webhook RCE) is a security finding even at zero routes. Security anchors on exposure/blast-radius, business on live traffic.

ImpactBandMeaning
🟢 0Non-eventAbsent controller, empty estate, or orphaned/dead config — nothing to migrate. List it, deduct 0. Not a non-event: a reachable known-CVE/EOL controller (control-plane exposure survives zero routes), or a broken controller with bound routes (active outage — flag separately, outside the score).
🟡 1–2LowNo revenue/downtime impact; hardening gap / best-practice; or a present-but-broken controller with zero bound routes = tech debt (1).
🟠 3–4MediumShort-downtime revenue loss or moderately-important live flow; limited-reputation breach; tech debt hard to reverse.
🔴 5HighBusiness-critical revenue loss / prolonged downtime on live traffic, or a major/reputational breach on a live path; needs re-design/re-architecture (may need approval).
⬜ Unknown—Cannot determine — state what to check and why.

Easy-to-deploy prerequisites (e.g. installing CRDs) are Low even if they block a path — effort never sets severity. Never use GREEN/AMBER/RED.

Migration Difficulty Score

Every report leads with a single Migration Difficulty Score (0–100) plus a separate Re-architecture Gate badge:

  • High score = little change (easy); low score = much change (hard). It measures the amount of the estate that must change, rolled up from the per-finding Impact ratings — not a manday estimate and not a remediation-effort index (we cannot know who implements, and effort never sets severity).
  • Empty / non-migratable estate = 100. No controller + no IngressClass + no Ingress → 100 / TRIVIAL with a "nothing to migrate" note (cluster/node upgrades are out of scope, not counted as migration). This also applies when the only controller present is a healthy migration-target controller (e.g. AWS LB Controller) with nothing bound to migrate and it is not CVE/EOL-affected — a reachable vulnerable controller is a security finding even at zero routes, so do not short-circuit it (see references/report-generation.md §1.0-A). Orphaned Ingress objects with no controller = dead config = 0 with a loud "Migration Crew Alert" note (headline is 100 / TRIVIAL only if there are no other live findings). See references/report-generation.md §1.0.
  • Presence vs. absence. Absent controller = 0 (non-event). Present-but-broken (CrashLoopBackOff/unreachable) with zero bound routes = 1 tech-debt deduction + mandatory cleanup note; with bound routes = suspected active outage, flagged urgently outside the 0–100 score. Neither replaces the migration-difficulty of that controller's config (its routes remain migratable). Verify "no traffic" by read-only evidence (all nginx replicas down; ALB/target-group state for the LBC) — if you cannot verify, treat the estate as live.
  • Deduction model, no artificial cap. Start at 100, subtract weighted points per finding (Impact 5→10, 4→6, 3→4, 2→2, 1→1, non-event 0), cap per category, score = max(0, 100 − Σ). The score is never locked at a ceiling — a single hard route no longer flattens it.
  • Re-architecture Gate (separate, informational): routes and non-route conditions needing redesign/approval — routes (Lua/snippet/mirror, TLS passthrough/mTLS, cross-namespace ownership, plus any Tier-B feature escalated to Tier-A — e.g. CORS, or Basic-Auth→OIDC with non-interactive callers, on a closed/unmodifiable backend) plus conditions (no-rollback cutover, EOL/CVE control-plane exposure, Auto Mode LB ownership race) — are reported as a ⛔ N blocker(s) need(s) redesign / approval badge next to the score (a blocker is any such route or condition); they do not overwrite the number. Score = "how much work?"; gate = "does anything need a redesign decision?".
  • Clean routes count at 0 effort: an Ingress already on the ALB controller, Gateway API, or a supported 3rd-party controller contributes 0 and is excluded from the Volume work-count, so "X of N already done" is visible and lifts the score.
  • Feature-gap is tiered: features with no native ALB annotation but a standard workaround — CORS (app middleware), IP allowlist (Security Group / WAF), rate-limit (WAF), Basic Auth → OIDC (app-level credential validation) — are Impact 2 (performance/hardening) or 3 (business-logic-entangled) while that workaround can be applied. They escalate to Tier-A (4–5) only when the workaround cannot be applied — the backend is a closed third-party/SaaS app you cannot modify (no app-layer shim) and no platform layer replicates it — and the loss degrades a live business flow; for Basic Auth → OIDC escalation additionally requires non-interactive callers. No-workaround features (Lua/snippet/mirror/regex-capture) score heavy by default. See report-generation.md §1.3 for the rule.
  • Bands: 90–100 TRIVIAL · 80–89 EASY · 70–79 MODERATE · 60–69 HARD · 0–59 VERY HARD.
  • The score is derived from the findings, not a separate judgement — it never overrides the team's choice of migration path. Full deterministic algorithm, category weights, gate logic, tiering rules, and the mandatory Score Breakdown table live in references/report-generation.md Step 1.

Report Output

Everything is delivered inline in the response — this runtime cannot write files, so no output path is ever reported as written. One report per assessed cluster, in this order:

OrderOutputForm
1Assessment reportMarkdown, titled EKS-Ingress-Migration-<cluster>-<YYYY-MM-DD>-<HHMM>
2Topology artifactOne fenced json block in the References section
3Export materialsFenced yaml blocks in the References section, labelled with their current/ / target/ grouping, subject to the Step 10 volume guard

The report leads with the Migration Difficulty Score and the Re-architecture Gate badge. The interactive HTML dashboard and 3D routing diagram are not produced here — they belong to the Claude Code build of this skill.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Eks Ingress Migration làm được gì?

Đánh giá các thành phần NGINX/Ingress trên cụm EKS đang hoạt động và lập kế hoạch di chuyển sang Gateway API, AWS Load Balancer Controller (ALB Ingress) hoặc AWS Transform (ATX). Phát hiện các ingress controller và route, chấm điểm độ khó di chuyển từ 0–100 với một bước đánh giá riêng về việc có cần tái kiến trúc hay không, đồng thời tạo báo cáo cho từng cụm cùng các manifest sẵn sàng áp dụng. Dùng khi có người hỏi “chuyển khỏi nginx ingress có khó không?”, “đánh giá việc di chuyển ingress của tôi”, “di chuyển nginx sang ALB hoặc Gateway API”, “kiểm toán việc di chuyển ingress” hoặc “kế hoạ...

Vì sao nên dùng Eks Ingress Migration trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Eks Ingress Migration là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Eks Ingress Migration trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/aws-samples/sample-apex-skills/tree/main/devops-agent/eks-ingress-migration. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Eks Ingress Migration?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Eks Ingress Migration với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Eks Ingress Migration với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Eks Ingress Migration có miễn phí không?

Có. Kỹ năng này được aws-samples phát hành trên GitHub theo giấy phép MIT-0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇