asmcli를 실행할 때 --enable_all 플래그를 포함하여 프로젝트와 클러스터를 구성할 수 있습니다. asmcli 옵션 및 플래그에 대한 자세한 내용은 asmcli 참조를 확인하세요.
그런 후 asmcli가 프로젝트 및 클러스터 정보를 사용하여 YAML 파일을 구성합니다.
Cloud Service Mesh 컨트롤 플레인을 설치하려면 이러한 구성 파일이 필요합니다.
Cloud Service Mesh 및 Istio를 처음 사용하는 경우에는 지원되는 플랫폼으로 건너뜁니다. 다음 섹션에서는 1.19에 대한 기존 Cloud Service Mesh 업그레이드를 도와줍니다.
asmcli로 전환
asmcli가 istioctl install 및 install_asm을 대체합니다. Cloud Service Mesh 1.11에서는 기존 도구를 계속 사용할 수 있지만, 기존 도구는 지원 중단되어 Cloud Service Mesh 1.12 이상에서는 더 이상 지원되지 않습니다.
asmcli를 사용하도록 스크립트와 도구를 업데이트하세요.
Cloud Service Mesh 1.11 이상에서는 모든 클러스터를 Fleet에 등록해야 합니다. 자세한 내용은 Fleet 요구사항을 참조하세요.
install_asm에서 전환
install_asm에 익숙하다면 asmcli는 이와 비슷하지만 다음과 같은 주목할 만한 차이점이 있습니다.
새로운 설치 및 업그레이드에는 asmcli install를 사용하세요.
install_asm에서와 같은 --mode 옵션은 없습니다. asmcli install을 실행할 때는 클러스터에 기존 제어 영역이 있는지 확인합니다. 기존 컨트롤 플레인이 없으면 asmcli가 Cloud Service Mesh를 설치합니다. 클러스터에 기존 컨트롤 플레인(Cloud Service Mesh 컨트롤 플레인 또는 오픈소스 Istio 컨트롤 플레인)이 있는 경우:
기존 제어 영역의 버전 라벨이 새 제어 영역의 버전 라벨과 일치하지 않으면 asmcli에서 카나리아 업그레이드를 수행합니다.
istioctl install에 익숙한 경우, 일반적으로 제어 영역을 구성하기 위해 -f 명령줄 인수를 사용하여 IstioOperator YAML 파일을 전달하는 경우 --custom_overlay 옵션을 사용해 파일을 asmcli로 전달할 수 있습니다. Cloud Service Mesh 문서에서는 이러한 파일을 오버레이 파일이라고 합니다.
지원되는 플랫폼
지원되는 플랫폼 목록에 있는 Cloud Service Mesh 설치는 asmcli로 구성하거나 업그레이드할 수 있습니다.
하지만 Google Cloud외부 플랫폼에서는 일부 기능을 사용할 수 없습니다.
자세한 내용은 클러스터 내 컨트롤 플레인 지원 기능을 참조하세요.
[[["이해하기 쉬움","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-08-20(UTC)"],[],[],null,["# About the asmcli\n================\n\nThe `asmcli` is a Google-provided tool that you can use to install or\nupgrade Cloud Service Mesh. If you let it, `asmcli` will configure your\nproject and cluster as follows:\n\n- Grant you the required Identity and Access Management (IAM) permissions on your Google Cloud project.\n- Enable the required Google APIs on your Google Cloud project.\n- Set a label on the cluster that identifies the mesh.\n- Create a service account that lets data plane components, such as the sidecar proxy, securely access your project's data and resources.\n- [Register the cluster](/anthos/multicluster-management/connect/registering-a-cluster) to the fleet if it isn't already registered.\n\nJust include the `--enable_all` flag when you run `asmcli` to let it configure\nyour project and cluster. For more information about `asmcli` options and flags,\nsee the [`asmcli` reference](/service-mesh/v1.19/docs/unified-install/reference).\n\nNext, `asmcli` configures YAML files with your project and cluster information.\nThese configuration files are needed to install the Cloud Service Mesh control plane.\n\nIf you are new to Cloud Service Mesh and Istio, skip ahead to\n[Supported platforms](#supported_platforms). The next section is intended to\nhelp existing Cloud Service Mesh upgrade to 1.19.\n\nTransitioning to `asmcli`\n-------------------------\n\nThe `asmcli` takes the place of `istioctl install` and `install_asm`. Although\nyou can still use the legacy tools in Cloud Service Mesh 1.11, we are deprecating\nthem and they will no longer be supported in Cloud Service Mesh 1.12 and later.\nPlease update your scripts and tools to use `asmcli`.\n\nWith Cloud Service Mesh 1.11 and later, all clusters must be registered to a\n[fleet](/anthos/multicluster-management/fleets). See\n[Fleet requirements](/service-mesh/v1.19/docs/unified-install/anthos-service-mesh-prerequisites#fleet_requirements)\nfor details.\n\n### Transitioning from `install_asm`\n\nIf you are familiar with `install_asm`, `asmcli` is similar but with the\nfollowing notable differences:\n\n- You use `asmcli install` for new installations and upgrades.\n There isn't a\n [`--mode` option](/service-mesh/v1.19/docs/unified-install/reference#options) like with\n `install_asm`. When you run `asmcli install`, it checks to see if\n there's an existing control plane on the cluster. If there isn't an existing\n control plane, `asmcli` installs Cloud Service Mesh. If the cluster has an\n existing control plane (either a Cloud Service Mesh control plane or an open source\n Istio control plane):\n\n - If the revision label on the existing control plane doesn't match the\n revision label for the new control plane, `asmcli` does a\n [canary upgrade](/service-mesh/v1.19/docs/unified-install/plan-upgrade#about_canary_upgrades).\n\n - If the control plane revision labels are the same, `asmcli` does an in-place\n upgrade.\n\n- Most of the `asmcli`\n [options and flags](/service-mesh/v1.19/docs/unified-install/reference) behave the same\n as the ones for `install_asm`.\n\n### Transitioning from `istioctl install`\n\nIf you are familiar with `istioctl install`, if you normally pass an\n`IstioOperator` YAML file using the `-f` command-line argument to configure the\ncontrol plane, you can pass the file to `asmcli` using the `--custom_overlay`\noption. In the Cloud Service Mesh documentation, we refer to these files as overlay\nfiles.\n| **Note:** By default, `asmcli` doesn't install an ingress gateway with the control plane. For production deployments, we recommend that you install gateways separately. For more information and best practices, see [Install and upgrade gateways](/service-mesh/v1.19/docs/gateways#best_practices_for_deploying_gateways). We have provided sample Deployment, Service, ServiceAccount, and Role configuration files in the [`anthos-service-mesh`](https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages/tree/main/samples/gateways) repository for both ingress and egress gateways to get you started. You can deploy them as they are or customize them as needed.\n\nSupported platforms\n-------------------\n\nCloud Service Mesh installations on the list of\n[Supported platforms](/service-mesh/v1.19/docs/supported-platforms) can be configured\nor upgraded by `asmcli`.\n\nHowever, not all features are available on the platforms outside of Google Cloud.\nFor details, see\n[In-cluster control plane supported features](/service-mesh/v1.19/docs/supported-features).\n\nWhat's next\n-----------\n\n- [Prerequisites](/service-mesh/v1.19/docs/unified-install/anthos-service-mesh-prerequisites)"]]