Google Distributed Cloud는 클러스터를 만들고 클러스터 수명 주기 작업(업데이트, 업그레이드, 삭제)을 관리할 수 있는 여러 도구를 제공합니다.
bmctl은 온프레미스 데이터 센터의 관리자 워크스테이션에서 실행하는 명령줄 도구입니다. 클러스터 네트워크, 부하 분산, 기타 클러스터 기능을 설명하는 구성 파일을 만듭니다. bmctl에 대한 명령줄에서 이 파일을 지정합니다. 또한 관리자 워크스테이션에서 kubectl을 실행하여 클러스터를 업그레이드 및 업데이트하고 사용자 클러스터를 삭제할 수 있습니다.
Google Cloud 콘솔, Google Cloud CLI 또는 Terraform - 네트워크가 GKE On-Prem API에 연결된 모든 컴퓨터에서 실행할 수 있습니다.
이러한 표준 도구는 Google Cloud 인프라에서 실행되는 GKE On-Prem API를 사용합니다. 통칭해서 이러한 표준 도구를 GKE On-Prem API 클라이언트라고 합니다. 클러스터 수명 주기를 관리하려면 GKE On-Prem API에서 클러스터를 만들 때 지정한 Google Cloud 리전의 Google Cloud에 클러스터 상태에 대한 메타데이터를 저장해야 합니다. 이 메타데이터를 사용하면 API에서 클러스터 수명 주기를 관리할 수 있으며 워크로드별 데이터는 포함되지 않습니다.
클러스터를 만드는 데 사용하는 도구에 관계없이 클러스터 노드 머신과 부하 분산기 VIP의 IP 주소와 같이 수집하여 도구에 제공하는 정보는 동일합니다.
이 옵션을 선택하면 사용 사례 및 환경에 가장 적합한 도구를 선택할 수 있습니다. 예를 들면 다음과 같습니다.
개발 환경에서 처음 설치하는 경우 사용자 인터페이스가 추가 안내 및 도움말을 제공하는 콘솔을 사용하는 것이 좋습니다.
조직에서 이미 gcloud CLI 또는 Terraform을 사용하여 다른 Google Cloud 리소스를 관리하는 경우 이러한 도구도 Google Distributed Cloud에 사용할 수 있습니다.
조직에 규제 요구사항 또는 제한사항이 있으면 Google Cloud에 대한 의존도를 제한하고 관리자 워크스테이션에서 bmctl을 사용하여 클러스터를 만들고 클러스터 수명 주기를 관리해야 할 수 있습니다.
bmctl 도구는 Google Distributed Cloud의 첫 번째 출시 버전과 함께 제공되었으며 지원되는 기능 중 가장 발전된 형태의 도구입니다. 선택할 때 GKE On-Prem API 클라이언트의 기능을 검토하는 것이 좋습니다. 다음 목록은 현재 제한사항을 요약해서 보여줍니다. GKE On-Prem API 클라이언트가 계속 발전하므로 이 목록을 수시로 확인하세요.
유일하게 지원되는 클러스터 유형은 관리자 및 사용자 클러스터입니다.
출시 후 7~10일까지는 GKE On-Prem API에서 최신 부 버전이나 패치 버전을 사용할 수 없습니다.
[[["이해하기 쉬움","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-18(UTC)"],[],[],null,["Google Distributed Cloud provides you a choice of tools to create clusters and\nmanage the cluster lifecycle operations (update, upgrade, and delete):\n\n- The command-line tool `bmctl`, which you run on your admin workstation in your on-premises data center. You create a [configuration file](/kubernetes-engine/distributed-cloud/bare-metal/docs/reference/cluster-config-ref) that describes the cluster network, load balancing, and other cluster features. You specify this file on the command line to `bmctl`. You can also run `kubectl` on your admin workstation to upgrade and update clusters and to delete user clusters.\n- The Google Cloud console, Google Cloud CLI, or [Terraform](https://www.terraform.io), which you can run from any computer that has network connectivity to the [GKE On-Prem API](/anthos/clusters/docs/on-prem-api/reference/rest). These standard tools use the GKE On-Prem API, which runs on Google Cloud infrastructure. Collectively, the standard tools are referred to as the *GKE On-Prem API clients*. To manage the lifecycle of your clusters, the GKE On-Prem API must store metadata about your cluster's state in Google Cloud, in the Google Cloud region that you specify when creating the cluster. This metadata lets the API manage the cluster lifecycle and doesn't include workload-specific data.\n\nNo matter which tool you use to create clusters, the information that\nyou gather and provide to the tool, such as the IP addresses\nof cluster node machines and load balancer VIPs, is the same.\n\nThis selection lets you choose the best tool for your use case and\nenvironment. For example:\n\n- For your first installations in a development environment, you might want to use the console because the user interface provides additional guidance and help.\n- If your organization already uses the gcloud CLI or Terraform to manage other Google Cloud resources, you will probably want to use these tools for Google Distributed Cloud as well.\n- If your organization has regulatory requirements or restrictions, you might need to limit your reliance on Google Cloud and use `bmctl` on your admin workstation to create clusters and manage cluster lifecycle.\n\nIf you create a cluster with `bmctl`, you can\n[enroll the cluster with the GKE On-Prem API](/kubernetes-engine/distributed-cloud/bare-metal/docs/how-to/enroll-cluster)\nafter the cluster is created, which lets you also use the GKE On-Prem API\nclients.\n\nLimitations with the GKE On-Prem API clients\n\nThe `bmctl` tool was shipped with the first release of Google Distributed Cloud,\nand it is the most mature as far as features that it supports. We recommend that\nyou review the functionality for the GKE On-Prem API clients when making a\nchoice. The following list summarizes current limitations. Check this list from\ntime to time as the GKE On-Prem API clients evolve.\n\n- Admin and user clusters are the only supported cluster types\n\n- The latest minor or patch versions aren't available in the GKE On-Prem API\n until 7 to 10 days after the release\n\n- The following advanced networking features aren't supported:\n\n - [IPv4/IPv6 dual-stack networking](/kubernetes-engine/distributed-cloud/bare-metal/docs/how-to/dual-stack-networking)\n - [IPv4 flat mode network model](/kubernetes-engine/distributed-cloud/bare-metal/docs/how-to/flat-network)\n\nWhat's next\n\n- `bmctl`\n\n - [Cluster configuration field reference](/kubernetes-engine/distributed-cloud/bare-metal/docs/reference/cluster-config-ref#cluster_configuration_fields)\n- gcloud CLI\n\n - [`gcloud container bare-metal clusters`](/sdk/gcloud/reference/container/bare-metal/clusters)\n\n - [`gcloud container bare-metal node-pools`](/sdk/gcloud/reference/container/bare-metal/node-pools)\n\n - [`gcloud container bare-metal admin-clusters`](/sdk/gcloud/reference/container/bare-metal/admin-clusters)\n\n- Terraform\n\n - [`google_gkeonprem_bare_metal_cluster`](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/gkeonprem_bare_metal_cluster)\n\n - [`google_gkeonprem_bare_metal_node_pool`](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/gkeonprem_bare_metal_node_pool)\n\n - [`google_gkeonprem_bare_metal_admin_cluster`](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/gkeonprem_bare_metal_admin_cluster)"]]