본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)17k · #10762

frontend-forge-fe-operations

하는 일

이 스킬은 AI 에이전트가 kubectl을 통해 KubeSphere 클러스터의 프런트엔드 확장 기능을 다루도록 돕습니다. 프런트엔드 확장 패키지를 만들고, 다시 빌드하고, 게시하거나 문제를 해결하는 클러스터 운영자를 위한 스킬입니다.

사용하는 경우

  • ✓프런트엔드 확장 기능을 만들거나 업데이트하고 패키지를 생성해야 할 때.
  • ✓프런트엔드 확장 기능이 패키징이나 게시 단계에서 멈춰 있고 원인을 찾고 싶은 경우.
  • ✓확장 기능을 게시, 게시 취소, 삭제하고 그 상태를 확인해야 할 때.

스킬 링크

https://github.com/kubesphere/kubesphere/blob/master/skills/frontend-forge-fe-operations/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/kubesphere/kubesphere/blob/master/skills/frontend-forge-fe-operations/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“프런트엔드 확장 기능이 Packaging 상태에서 멈춰 있습니다. 상태를 확인하고 원인을 찾아 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 kubectl로 대상 클러스터에서 확장 기능의 상태, 조건, 작업, 산출물을 읽습니다. 그다음 수명 주기 단계에 따라 다시 빌드하거나 게시하거나 게시를 취소하고, 결과를 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Frontend Forge FE Operations

When to use

Use this skill for operational work around FrontendExtension resources:

  • Create or update an FE manifest
  • Trigger or inspect package generation
  • Force a rebuild with the rebuild-token annotation
  • Download the generated package artifact
  • Publish, unpublish, or delete an extension
  • Inspect FE status, conditions, labels, Jobs, artifact ConfigMaps, and publish targets
  • Debug FE package phases such as Packaging, Ready, and Failed, plus publish/unpublish phases such as Pending, Running, Succeeded, and Failed

If the task is about FrontendIntegration runtime JSBundle creation, use the FI operations skill instead. FE package/publish does not create a runtime JSBundle in the current cluster.

Quick Entry

  • Create or update FE -> read references/lifecycle.md
  • Rebuild package -> read references/lifecycle.md
  • Publish, unpublish, delete-with-unpublish, list through API, or download -> read references/api.md
  • Inspect package Job, artifact ConfigMap, publish Job, labels, or conditions -> read references/inspection.md
  • Debug stuck or failed state -> read references/inspection.md, then check controller logs

Preconditions

  • The current Kubernetes context is pointed at the target cluster.
  • The FE CRD exists: frontendextensions.frontend-forge.kubesphere.io.
  • The FE controller is installed, usually as the extension-controller component.
  • The FE API is installed when using download, publish, unpublish, or delete-with-unpublish HTTP operations.
  • The build service configured by BUILD_SERVICE_BASE_URL is reachable from package Jobs.
  • Publish target data exists when publishing, normally ConfigMap/ksbuilder-publish-config in extension-frontend-forge.

Source of truth

Prefer live cluster state for operations and repo docs for expected behavior:

  • kubectl get fe <name> -o yaml
  • kubectl get jobs -n <work-namespace> -l frontend-forge.kubesphere.io/fe-name=<name>
  • spec/frontend-extension-design.md
  • spec/crds.md
  • spec/k8s-resources.md
  • config/samples/frontendextension-inspecttask.yaml
  • crates/api/src/fe.rs
  • crates/frontend-extension-controller
  • crates/frontend-forge-extension-api

Resource Model

  • FrontendExtension
    • cluster-scoped
    • short name: fe
    • source object for package, artifact, download, publish, and unpublish state
  • Package Job
    • namespaced
    • default namespace: extension-frontend-forge
    • typical name: fe-<fe-name>-package-<artifact-key-12>-a<attempt>
  • Artifact ConfigMap
    • namespaced
    • default namespace: extension-frontend-forge
    • referenced by status.artifact.storage.ref
    • contains binaryData["package.tgz"], data["artifact.json"], and data["files.json"]
  • Publish or unpublish Job
    • namespaced
    • default namespace: extension-frontend-forge
    • typical names:
      • fe-<fe-name>-publish-<request-id-hash-short>
      • fe-<fe-name>-unpublish-<request-id-hash-short>
  • Publish target
    • ConfigMap or Secret
    • default chart target is usually ConfigMap/ksbuilder-publish-config in the release namespace

Default names and namespaces can change through Helm values and controller environment variables. Use FE status, Job labels, and controller deployment env vars before assuming defaults.

Common Commands

Inspect FE:

kubectl get fe <name> -o yaml
kubectl get fe <name> -o jsonpath='{.status}{"\n"}'
kubectl get fe <name> -o jsonpath='{.status.phase}{" "}{.status.publish.phase}{" "}{.status.unpublish.phase}{"\n"}'
kubectl get fe -l frontend-forge.kubesphere.io/package-state=ready
kubectl get fe -l frontend-forge.kubesphere.io/publish-state=published

Create or update:

kubectl apply -f <file.yaml>
kubectl apply -f config/samples/frontendextension-inspecttask.yaml

Find package Job and logs:

kubectl get fe <name> -o jsonpath='{.status.packageJob.namespace}{" "}{.status.packageJob.name}{"\n"}'
kubectl -n <job-namespace> get job <job-name> -o yaml
kubectl -n <job-namespace> logs job/<job-name>

Find artifact ConfigMap:

kubectl get fe <name> -o jsonpath='{.status.artifact.storage.ref.namespace}{" "}{.status.artifact.storage.ref.name}{" "}{.status.artifact.storage.key}{"\n"}'
kubectl -n <artifact-namespace> get cm <artifact-configmap-name> -o yaml

Force a rebuild:

kubectl annotate fe <name> frontend-forge.kubesphere.io/rebuild-token="$(date +%s)" --overwrite

Inspect publish or unpublish J

자주 묻는 질문

에이전트는 어느 클러스터에서 작업하나요?

kubectl 컨텍스트가 가리키는 클러스터를 사용하므로, 먼저 그 컨텍스트를 확인해야 합니다.

이 스킬이 런타임 번들을 만드나요?

아니요. 스킬에 따르면 패키징과 게시는 현재 클러스터에 런타임 번들을 만들지 않습니다.

다른 확장 기능 유형도 도울 수 있나요?

아니요. FrontendIntegration 리소스는 별도의 통합 스킬을 참고하도록 안내합니다.

상세 정보

작성자의 원본 설명

Operate FrontendExtension (FE) resources in frontend-forge: create, update, rebuild, inspect package artifacts, download packages, publish, unpublish, delete, and debug package/publish controller behavior. Use this skill whenever the user mentions FE operations, FrontendExtension lifecycle, extension package/download/publish/unpublish, artifact ConfigMaps, package Jobs, publisher Jobs, publish target ConfigMaps or Secrets, rebuild-token, package-state/publish-state labels, or troubleshooting FE status in a Kubernetes cluster.

repo: kubesphere/kubesphere

인기도

GitHub 스타
17k
순위
#10762
라이선스
—
업데이트
2026. 7. 14.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬