Skip to main content

migration-readiness

Assess whether an application is ready to migrate to OpenShift. Use when the user describes an application and asks about migration, containerization, or moving to Kubernetes/OpenShift.

来源信息

仓库
openshift/lightspeed-service
最近来源活动
2026年3月31日 09:43
检测到的 SKILL.md 语言
英语
星标
71
分支
93

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
migration-readiness
description
Assess whether an application is ready to migrate to OpenShift. Use when the user describes an application and asks about migration, containerization, or moving to Kubernetes/OpenShift.
# Migration Readiness Assessment When a user describes an application for migration, follow these steps in order. ## Step 1: Classify Application Type Read the description and classify: - Contains "stateless" or "REST API" or "web app" or "microservice" → Simple → go to Step 2 - Contains "database" or "stateful" or "persistent" or "queue" → Stateful → go to Step 3 - Contains "legacy" or "monolith" or "mainframe" or "VM-based" → Complex → go to Step 4 State the classification and the matching keywords. ## Step 2: Simple Migration (Lift & Shift) 1. State: "This application is a good candidate for direct migration." 2. Recommend: containerize with a standard Dockerfile. 3. Recommend: use a Deployment with at least 2 replicas for availability. 4. Recommend: expose via Service + Route. 5. Estimated effort: 1-2 sprints. 6. Proceed to Step 5. ## Step 3: Stateful Migration (Requires Planning) 1. State: "This application requires careful data migration planning." 2. Recommend: use StatefulSet instead of Deployment. 3. Recommend: provision PersistentVolumeClaims for data directories. 4. Recommend: plan a data migration window with rollback strategy. 5. Warn: test failover behavior before production cutover. 6. Estimated effort: 3-5 sprints. 7. Proceed to Step 5. ## Step 4: Complex Migration (Refactor First) 1. State: "This application needs refactoring before migration." 2. Recommend: decompose into smaller services where possible. 3. Recommend: identify external dependencies (shared filesystems, host networking). 4. Recommend: start with a pilot component, not the full monolith. 5. Warn: budget for discovery — hidden dependencies are common. 6. Estimated effort: 6-12 sprints. 7. Proceed to Step 5. ## Step 5: Readiness Checklist Provide a structured summary: - Application type: (Simple/Stateful/Complex) - Migration strategy: (from the corresponding step) - Estimated effort: (from the corresponding step) - Top 3 risks: (infer from the application description) - Next action: (first concrete step to take)
在 GitHub 查看