Elige una herramienta para administrar el ciclo de vida del clúster
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Google Distributed Cloud te ofrece una opción de herramientas para crear clústeres y administrar las operaciones del ciclo de vida de los clústeres (actualizar, mejorar y borrar):
La herramienta de línea de comandos de bmctl, que se ejecuta en la estación de trabajo de administrador en el centro de datos local. Debes crear un archivo de configuración que describa la red del clúster, el balanceo de cargas y otras características del clúster. Debes especificar este archivo en la línea de comandos como bmctl. También puedes ejecutar kubectl en tu estación de trabajo de administrador para actualizar y actualizar clústeres, además de borrar clústeres de usuario.
La consola de Google Cloud, Google Cloud CLI o Terraform que puedes ejecutar desde cualquier computadora que tenga conectividad de red a la API de GKE On-Prem.
Estas herramientas estándar usan la API de GKE On-Prem, que se ejecuta en la infraestructura de Google Cloud. En conjunto, las herramientas estándar se denominan clientes de la API de GKE On-Prem. Para administrar el ciclo de vida de tus clústeres, la API de GKE On-Prem debe almacenar los metadatos sobre el estado de tu clúster en Google Cloud, en la región de Google Cloud que especificas cuando creas el clúster. Estos metadatos permiten que la API administre el ciclo de vida del clúster y no incluyen datos específicos de la carga de trabajo.
Sin importar qué herramienta uses para crear clústeres, la información que recopilas y proporcionas a la herramienta, como las direcciones IP de las máquinas de nodo del clúster y las VIP del balanceador de cargas, es la misma.
Esta selección te permite elegir la mejor herramienta para tu caso de uso y tu entorno. Por ejemplo:
Para las primeras instalaciones en un entorno de desarrollo, es posible que desees usar la consola porque la interfaz de usuario proporciona orientación y ayuda adicionales.
Si tu organización ya usa la CLI de gcloud o Terraform para administrar otros recursos de Google Cloud, es probable que también quieras usar estas herramientas para Google Distributed Cloud.
Si tu organización tiene requisitos o restricciones reglamentarios, es posible que debas limitar tu dependencia en Google Cloud y usar bmctl en la estación de trabajo de administrador para crear clústeres y administrar el ciclo de vida de los clústeres.
Limitaciones con los clientes de la API de GKE On-Prem
La herramienta bmctl se envió con la primera versión de Google Distributed Cloud y es la más maduro en cuanto a las funciones que admite. Te recomendamos que revises la funcionalidad para los clientes de la API de GKE On-Prem cuando elijas una opción. En la siguiente lista, se resumen las limitaciones actuales. Consulta esta lista cada tanto a medida que evolucionan los clientes de la API de GKE On-Prem.
Los clústeres de administrador y de usuario son los únicos tipos de clústeres compatibles
Las versiones secundarias o de parche más recientes no están disponibles en la API de GKE On-Prem hasta 7 o 10 días después de la actualización.
No se admiten las siguientes funciones avanzadas de herramientas de redes:
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2024-11-21 (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)"]]