tar 파일에는 Linux, MacOS, Windows용 바이너리 실행 파일이 포함됩니다.
운영체제에 적합한 바이너리를 선택합니다.
Linux: ./linux/amd64/config-connector
MacOS: ./darwin/amd64/config-connector
Windows: ./windows/amd64/config-connector
${PATH}의 한 위치에 바이너리를 복사합니다. 예를 들어 Linux 및 MacOS에서는 mv를 사용하여 /usr/local/bin에 배치할 수 있습니다.
mvlinux/amd64/config-connector/usr/local/bin
config-connector 도구를 사용하여 Cloud 애셋 인벤토리에서 직접 내보내려면 Google Cloud ID의 프로젝트에서 gcloud로 Cloud 애셋 인벤토리 API를 사용 설정합니다.
gcloudservicesenablecloudasset.googleapis.com
애플리케이션 기본 액세스 사용자 인증 정보 가져오기
config-connector는 Google Cloud CLI의 application-default 사용자 인증 정보를 사용해서 Google Cloud에 인증을 수행합니다. application-default 대신 oauth2-token 옵션을 사용하여 OAuth 2.0 토큰을 제공할 수 있습니다.
gcloud로 application-default 사용자 인증 정보를 가져옵니다.
gcloud auth application-default login
config-connector 업그레이드
config-connector를 최신 버전으로 업그레이드하려면 설치 단계를 반복하고 config-connector 실행 파일을 덮어씁니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-12-21(UTC)"],[[["The `config-connector` tool allows you to export existing resources to Config Connector YAML files, which can then be imported using `kubectl`."],["Installation of `config-connector` involves downloading the appropriate binary from `gs://cnrm/latest/cli.tar.gz`, extracting it, and placing it in a location on your `${PATH}`."],["The tool utilizes Google Cloud CLI's `application-default` credentials for authentication, obtainable via the command `gcloud auth application-default login`."],["To use the `config-connector` tool for direct export from Cloud Asset Inventory, you must first enable the Cloud Asset Inventory API with `gcloud services enable cloudasset.googleapis.com`."],["Upgrading the `config-connector` tool to the most recent release entails repeating the installation instructions and overwriting the existing executable."]]],[]]