이 도구는 Cloud Foundry 연산자가 다른 플랫폼에 기반의 이동성에 대한 개요를 제공하는 데 사용됩니다.
로컬 cf CLI를 사용하여 클러스터에 대한 정보를 읽는 방식으로 수행됩니다.
요구사항
cf CLI가 경로에 존재
cf CLI가 스캔할 클러스터에서 인증 받아 타겟팅
cf CLI가 관리자 권한으로 로그인
보고서 읽기
보고서에는 API에서 검색한 모든 정보가 포함되지 않으며 대신 Kubernetes로의 이동성을 예측하는 데 사용할 수 있는 특정 데이터를 타겟팅합니다.
도구는 민감한 정보를 포함할 수 있는 모든 알려진 필드를 난독화하거나 건너 뛰지만, 전송 전에 보고서를 확인해야 합니다. 예를 들어 URI에 사용자 이름, 비밀번호 또는 키가 포함될 수 있습니다.
예
# Validate the cluster to be targeted
cf curl /v2/info
# Run the command and get XLSX results (recommended)
kf migrate scan-cf-cluster report.xlsx
# Run the command and get text results
kf migrate scan-cf-cluster report.txt
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[],[],null,["# kf migrate scan-cf-cluster\n\n### Name\n\n`kf migrate scan-cf-cluster` - Reports migration readiness of a CF cluster.\n\n### Synopsis\n\n```\nkf migrate scan-cf-cluster REPORT_NAME.(xlsx|txt) [flags]\n```\n\n### Description\n\nThis tool is intended to be used by Cloud Foundry operators to\nprovide a picture about the portability of their foundation to other\nplatforms.\n\nIt does this by using the local cf CLI to read information about a cluster.\n\n**Requirements**\n\n- The `cf` CLI to be on your path\n- The `cf` CLI to be authenticated to and targeting the cluster to scan\n- The `cf` CLI to be logged in with administrator permissions\n\n**Reading the report**\n\nThe report does not contain all the information retrieved from the API, instead\nit targets specific pieces of data that can be used to estimate portability to\nKubernetes.\n\nWhile the tool does its best to obfuscate or skip processing any known fields\nthat might contain sensitive data, you should read through the report before\nsending it off. For example, URIs might contain usernames, passwords, or keys.\n\n### Examples\n\n```\n# Validate the cluster to be targeted\ncf curl /v2/info\n\n# Run the command and get XLSX results (recommended)\nkf migrate scan-cf-cluster report.xlsx\n\n# Run the command and get text results\nkf migrate scan-cf-cluster report.txt\n```\n\n### Flags\n\n`-h, --help`\n\n: help for scan-cf-cluster\n\n### Inherited flags\n\nThese flags are inherited from parent commands.\n\n`--as=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Username to impersonate for the operation.\n\n`--as-group=`\u003cvar translate=\"no\"\u003estrings\u003c/var\u003e\n\n: Group to impersonate for the operation. Include this flag multiple times to specify multiple groups.\n\n`--config=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Path to the Kf config file to use for CLI requests.\n\n`--kubeconfig=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Path to the kubeconfig file to use for CLI requests.\n\n`--log-http`\n\n: Log HTTP requests to standard error.\n\n`--space=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Space to run the command against. This flag overrides the currently targeted Space."]]