AGENT SKILL

AKS 集群健康巡检

skill-aks-health

[技能] aks、aks health、cluster health、node pool、activity logs —— 检查 Koji AKS 集群健康状况、节点池状态、自动扩缩容、活动日志、部署失败情况以及 Azure 控制平面操作。

适用职业SRE 工程师
License 许可
MIT
最近更新
2026-11-15
Stars
★ 5.4k
Forks
714

01 前言 Front Matter

name
skill-aks-health
description
[Skill] aks, aks health, cluster health, node pool, activity logs - Inspect Koji AKS cluster health, node pool status, autoscaling, activity logs, deployment failures, and Azure control-plane operations.
user-invocable
false
disable-model-invocation
false

02 资源文件 3

03 SKILL.md 正文

Koji AKS Cluster Health

Tools

Tool Purpose
aks_cluster_get List/get AKS cluster details and provisioning state
aks_nodepool_get List/get node pool status, VM size, scaling config
monitor_activitylog_list Azure control-plane operations and failures

AKS node pools

The Koji AKS cluster has four node pool types:

Pool Purpose
System Core K8s services (coredns, metrics-server)
Infra Koji hub, web, kojira, jobs
Builder (x86_64) x86_64 build workers
Builder (arm64) ARM64 build workers

Use aks_nodepool_get to discover current VM sizes and scaling configuration. Builder pools use autoscaling with a configurable maximum node count (check your AKS deployment or IaC configuration for the exact value and defaults).

Activity logs

Use monitor_activitylog_list to check for:

  • Failed deployments or provisioning errors
  • Scale-up/scale-down events on node pools
  • Resource modification operations
  • RBAC or permission-related failures

Set hours to scope the time window (e.g., 12 or 24).

04 同仓库更多 Skills

microsoft
microsoft/azurelinux

AKS 节点指标查询

skill-metrics

[技能] metrics、azure-monitor、aks——查询 Azure Monitor 指标,包括 Koji AKS 节点的 CPU、内存、磁盘使用率以及 Pod 就绪状态。

SRE 工程师运维监控与告警
★ 5.4k
microsoft
microsoft/azurelinux

构建失败批量分诊

skill-mass-triage

[技能] 从 JSON 结果文件中批量分诊构建失败——使用并行子代理进行诊断,按根因分类归纳,并生成汇总报告。当被要求对 Koji 结果文件进行分诊时使用。触发词:批量分诊、大规模分诊、分诊结果文件、按类别归纳失败。

测试工程师调试与故障排查
★ 5.4k
microsoft
microsoft/azurelinux

KQL 日志查询模板

skill-kql-queries

[技能] kql、queries、log analytics、container logs —— 通过 Log Analytics 提供 KQL 查询模板,用于查询 Koji 容器日志、pod 错误、重启、Kubernetes 事件、构建作业活动及节点资源使用情况。

SRE 工程师运维监控与告警
★ 5.4k
microsoft
microsoft/azurelinux

Koji 构建故障分诊

skill-koji-triage

[技能] 检查 Koji 构建,从 Koji Web UI 获取任务信息与日志,识别失败并提供根因分析。在分诊 Koji 构建失败、调查失败任务、下载构建日志或搜索损坏软件包时使用。触发词:koji failure、koji build failed、koji task、koji log、koji triage、build failure analysis。

SRE 工程师调试与故障排查
★ 5.4k
microsoft
microsoft/azurelinux

Fedora 镜像依赖注入修复

skill-fedora-mirror-injections

[技能] 诊断 Azure Linux Stage 1(bootstrap-mirror)的 BuildRequires 解析失败,并通过 azl-infra 注入文件将缺失的 RPM 回填到生产 Fedora 更新镜像。在分诊 stage-1 / azl4-bootstrap-mirror 构建失败、排查 Fedora 镜像中的依赖缺口、判断失败究竟是真正的镜像缺口还是瞬时超时或 spec 缺陷、向 azl4-stage1-injections.yaml 添加条目,或提交带镜像注入的 PR 时使用。触发词:bootstrap-mirror、stage 1 build failure、fedora mirror gap、missing BuildRequires、nothing provides crate、no match for argument、injections file、azl4-stage1-injections、mirror injection。

SRE 工程师调试与故障排查
★ 5.4k
microsoft
microsoft/azurelinux

AKS 部署上下文解析

skill-deployment-context

[技能] deployment context、aks、azure、koji —— 解析 Koji AKS 部署上下文,包括资源组、集群名称、订阅、Log Analytics 工作区及监控资源名称:优先从 deployment_summary.yaml 获取(若可用),否则从 Azure 动态发现。

SRE 工程师部署与发布管理
★ 5.4k