maintenance-check-aws-eks
Skill8 starsChanged 6 months agoApache-2.0View on GitHub
Check everything that can be upgraded for maintenance across an AWS EKS Kubernetes cluster and output a decision file with Jira-formatted tickets for any required upgrades.
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Run this skill when asked to check for available upgrades across an AWS EKS Kubernetes cluster for maintenance.
- Distinctive: line 12
Update the table below with your cluster names, AWS profiles, and region before using this skill:
- Distinctive: line 21
If the user does not specify an environment, ask before proceeding.
- Very specific: line 52
Decision point: If current version == latest version, no maintenance upgrade is needed at all — skip Steps 3–4 and proceed to Step 5 with a …
- Distinctive: line 131
Write all findings to a Markdown file at:
- Very specific: line 218
Always use the configured --region and the correct --profile for the target environment (see table above).
- Very specific: line 219
Never run any mutating AWS commands (update-cluster, update-addon, update-nodegroup, etc.) — this skill is read-only.
- Distinctive: line 220
If an AWS command fails (e.g.
- Distinctive: line 221
If the cluster is already on the latest Kubernetes version, skip Steps 3–4 entirely — add-ons and node group AMIs are only checked when an …
- Distinctive: line 223
Do not include AWS account IDs, ARNs, or any credential-like strings in the output file.
- Distinctive: line 224
Only one Jira ticket is ever produced, covering the control plane, add-ons, and node group AMIs together.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 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
Maintenance Check AWS EKS Skill
Run this skill when asked to check for available upgrades across an AWS EKS Kubernetes cluster for maintenance. It gathers current versions, compares them against latest available versions, and writes a decision file with Jira-formatted tickets for any required maintenance upgrades.
Configuration
Update the table below with your cluster names, AWS profiles, and region before using this skill:
- AWS region:
<your-aws-region>(e.g.us-east-1,eu-west-1)
| Environment | Cluster Name | AWS Profile |
| Staging / Non-Prod | <your-staging-cluster> | <your-nonprod-profile> |
| Production | <your-prod-cluster> | <your-prod-profile> |
If the user does not specify an environment, ask before proceeding.
Step 1 — Check current EKS cluster version
aws eks describe-cluster \
--name <cluster-name> \
--profile <profile> \
--region <your-aws-region> \
--query "cluster.version" \
--output textRecord: current cluster version (e.g. 1.29).
Step 2 — Determine latest available EKS version
aws eks describe-addon-versions \
--profile <profile> \
--region <your-aws-region> \
--query "sort_by(addons[?addonName=='vpc-cni'].addonVersions[].compatibilities[].clusterVersion, &@) | [-1]" \
--output textRecord: latest available EKS version.
Decision point: If current version == latest version, no maintenance upgrade is needed at all — skip Steps 3–4 and proceed to Step 5 with a "no maintenance upgrade required" output.
Step 3 — Check EKS add-on versions
List installed add-ons and their current vs. latest versions compatible with the target cluster version:
# List installed add-ons
aws eks list-addons \
--cluster-name <cluster-name> \
--profile <profile> \
--region <your-aws-region> \
--output json
# Current version of each add-on
aws eks describe-addon \
--cluster-name <cluster-name> \
--addon-name <addon-name> \
--profile <profile> \
--region <your-aws-region> \
--query "addon.addonVersion" \
--output text
# Latest version compatible with the target cluster version
aws eks describe-addon-versions \
--addon-name <addon-name> \
--kubernetes-version <target-version> \
--profile <profile> \
--region <your-aws-region> \
--query "addons[0].addonVersions[0].addonVersion" \
--output textRecord for each add-on: name, current version, latest compatible version.
Step 4 — Check EKS node group AMI versions
# List node groups
aws eks list-nodegroups \
--cluster-name <cluster-name> \
--profile <profile> \
--region <your-aws-region> \
--output json
# Current AMI release version per node group
aws eks describe-nodegroup \
--cluster-name <cluster-name> \
--nodegroup-name <nodegroup-name> \
--profile <profile> \
--region <your-aws-region> \
--query "{releaseVersion: nodegroup.releaseVersion, version: nodegroup.version}" \
--output jsonTo find the latest AMI for the target version, take the current AMI name, replace the EKS version with the target version followed by a -*:
aws ec2 describe-images \
--owners amazon \
--filters "Name=name,Values=<ami-name-prefix>-<target-version>-*" \
--profile <profile> \
--region <your-aws-region> \
--query "sort_by(Images, &CreationDate)[-1].{ImageId: ImageId, Name: Name}" \
--output jsonFor example, if the current AMI name is amazon-eks-node-al2023-x86_64-standard-1.34-v20260107, the filter value becomes amazon-eks-node-al2023-x86_64-standard-1.35-*.
Record for each node group: name, current AMI release version, latest AMI release version.
Step 5 — Write the output file
Write all findings to a Markdown file at:
./maintenance-checks/maintenance-check-aws-eks-<environment>-<YYYY-MM-DD>.mdin the current working directory (the project root).
Output file format
# Maintenance Upgrade Check — <environment> — <YYYY-MM-DD>
## Decision
**Maintenance upgrade required: Yes / No**
<If no maintenance upgrade required>
The EKS cluster is already on the latest Kubernetes version. No maintenance upgrade is needed.
</If no maintenance upgrade required>
---
## Summary
| Component | Current | Latest |
|---|---|---|
| EKS Cluster (<cluster-name>) | <current> | <latest> |
| EKS Add-on: <addon-name> | <current> | <latest compatible with target> |
| Node Group: <nodegroup-name> AMI | <current> | <latest> |
---
<If maintenance upgrade required>
---
## Jira Ticket
**Title:** Upgrade EKS cluster <cluster-name> from <current> to <target>
**Parent:** `<your-jira-parent-ticket>`
**Label:** `<your-jira-label>`
**Story Points:** `<your-story-points>`
**Refined:** Yes
**Description:**
The EKS cluster `<cluster-name>` is currently running Kubernetes `<current>`.
AWS has released `<target>` as the next supported minor version.
The following work is required:
**1. EKS Control Plane**
- Upgrade EKS control plane from `<current>` to `<target>`
- Verify cluster health post-upgrade
**2. EKS Add-ons**
| Add-on | Current Version | Target Version |
|---|---|---|
| <addon-name> | <current> | <latest compatible with target> |
- Update each add-on above to its latest version compatible with `<target>`
- Verify add-on health post-update
**3. Node Group AMIs**
| Node Group | Current AMI Release | Latest AMI Release |
|---|---|---|
| <nodegroup-name> | <current> | <latest> |
- Update each node group to use the latest AMI release for EKS `<target>`
- Perform rolling node replacement and verify workload health
**References:**
- AWS EKS version lifecycle: https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html
</If maintenance upgrade required>Rules
- Always use the configured
--regionand the correct--profilefor the target environment (see table above). Never omit them. - Never run any mutating AWS commands (
update-cluster,update-addon,update-nodegroup, etc.) — this skill is read-only. A human must execute the actual maintenance upgrades. - If an AWS command fails (e.g. access denied, unknown region), stop and report the error to the user before continuing.
- If the cluster is already on the latest Kubernetes version, skip Steps 3–4 entirely — add-ons and node group AMIs are only checked when an EKS cluster version upgrade is needed.
- Output the findings file even if no maintenance upgrade is required — the "No maintenance upgrade is needed" record is itself useful evidence for planning.
- Do not include AWS account IDs, ARNs, or any credential-like strings in the output file.
- Only one Jira ticket is ever produced, covering the control plane, add-ons, and node group AMIs together.
In this repository54 other files it gives its agents.
- alibabacloud-cliSkill
- ansible-cliSkill
- appdynamics-cliSkill
- argocd-cliSkill
- aws-cliSkill
- aws-cloudwatch-cliSkill
- azure-cliSkill
- bash-lintingSkill
- betterstack-cliSkill
- bitbucket-cliSkill
- chef-cliSkill
- code-reviewSkill
- commit-codeSkill
- create-dockerfileSkill
- create-terraform-helm-upgrade-planSkill
- datadog-cliSkill
- digitalocean-cliSkill
- dockerfile-lintingSkill
- dynatrace-cliSkill
- elasticsearch-cliSkill
- gcp-cliSkill
- github-cliSkill
- gitlab-cliSkill
- go-lintingSkill
- grafana-cliSkill
- grafana-loki-cliSkill
- graylog-cliSkill
- helm-cliSkill
- hetzner-cliSkill
- huaweicloud-cliSkill
- jaeger-cliSkill
- jenkins-cliSkill
- jira-and-confluence-cliSkill
- kibana-cliSkill
- kubernetes-cliSkill
- loggly-cliSkill
- maintenance-create-ticket-on-jiraSkill
- ms-teams-cliSkill
- mysql-cliSkill
- newrelic-cliSkill
- oci-cliSkill
- packer-cliSkill
- papertrail-cliSkill
- postgresql-cliSkill
- prometheus-cliSkill
- python-lintingSkill
- rollbar-cliSkill
- salesforce-cliSkill
- sentry-cliSkill
- slack-cliSkill
- splunk-cliSkill
- terraform-cliSkill
- terraform-lintingSkill
- vault-cliSkill
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.

