Puoi selezionare ed eseguire il deployment di applicazioni basate su container da Google Cloud Marketplace
al tuo cluster Google Kubernetes Engine.
Per visualizzare le applicazioni che puoi installare, nella console Google Cloud , apri la pagina Applicazioni GKE e fai clic su Esegui il deployment da Cloud Marketplace.
Per visualizzare le informazioni su un'app, inclusi i prezzi, selezionala.
Fai clic su Configura.
Seleziona il cluster Kubernetes in cui vuoi eseguire il deployment dell'app. Se vuoi
creare un nuovo cluster, fai clic su Crea cluster.
Seleziona o crea uno spazio dei nomi da utilizzare per l'applicazione.
Gli spazi dei nomi sono un modo per dividere le risorse del cluster tra più utenti o team.
Nella casella Nome istanza app, inserisci un nome per l'app, ad esempio
sandbox-dev-app. Il nome deve essere univoco all'interno dello spazio dei nomi.
Se devi modificare il account di servizio associato al piano di fatturazione dell'applicazione, espandi Impostazioni avanzate del piano e verifica il account di servizio associato all'applicazione.
Puoi eseguire il deployment di un'app Kubernetes in un cluster Google Kubernetes Engine o nella tua infrastruttura, ad esempio un'installazione locale di Minikube.
Per eseguire il deployment dell'app dalla riga di comando, scarica un file di licenza da Google Cloud. Quando esegui il deployment dell'app utilizzando i passaggi riportati di seguito, devi
applicare il file di licenza alla configurazione kubectl o al grafico Helm.
A seconda del fornitore dell'app, i passaggi specifici per il deployment dell'app potrebbero
essere diversi. A livello generale, devi:
Connettiti al cluster Kubernetes.
Aggiungi il file di licenza alla configurazione kubectl o al grafico Helm, a seconda dei casi.
Clona il repository Git per l'app. Il repository in genere contiene:
Una configurazione kubectl o
un grafico Helm, che descrive le risorse Kubernetes per l'app.
Se vuoi personalizzare l'app, ad esempio aumentando il numero di repliche o modificando la strategia di aggiornamento per i pod dell'applicazione, modifica la configurazione kubectl o il grafico Helm.
Una risorsa applicazione,
che definisce le proprietà dell'applicazione, come il tipo di
applicazione, la versione, i manutentori e così via.
Passaggi specifici per eseguire il deployment dell'applicazione nel cluster Kubernetes.
Script o strumenti aggiuntivi aggiunti dal fornitore.
Verifica la configurazione dell'app ed esegui il deployment.
Dopo il deployment, controlla le risorse ClusterRole o ClusterRoleBinding
con l'etichetta
app.kubernetes.io/component=deployer-rbac.marketplace.cloud.google.com.
Se li trovi, eliminali.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[],[],null,["# Deploying an application from Cloud Marketplace\n\n[Standard](/kubernetes-engine/docs/concepts/choose-cluster-mode)\n\n*** ** * ** ***\n\nYou can select and deploy container-based applications from Google Cloud Marketplace\nto your Google Kubernetes Engine cluster.\n\nTo see the applications that you can install, in the Google Cloud console, open\nthe GKE Applications page, and click\n**Deploy from Cloud Marketplace**.\n\n[Go to the Applications page](https://console.cloud.google.com/kubernetes/application)\n\nTo deploy an application to your cluster, follow these steps:\n| **Note:** If you are deploying an application to a non-GKE cluster configuration, such as a [Google Distributed Cloud](https://cloud.google.com/gke-on-prem/) cluster, or a cluster running [Istio](https://istio.io), you must first complete the [prerequisites for running Kubernetes applications with Google Distributed Cloud or Istio](/marketplace/docs/kubernetes-apps/deploying-non-gke-clusters).\n| **Note:** Marketplace applications that require elevated privileges generate `ClusterRole` and `ClusterRoleBinding` resources upon deployment. When you use Google Cloud console to deploy or delete an application that requires elevated privileges, these resources are automatically removed. However, if you use the command line to deploy or delete an application that requires elevated privileges, you must manually delete the `ClusterRole` and `ClusterRoleBinding` resources. For instructions, see the command-line instructions that follow.\n\nYou must have the `Kubernetes Engine Admin` and `Project Viewer`,\nor `Project Owner` role to deploy an app to a GKE cluster.\n\nTo deploy a Kubernetes app from GKE, your project must have\na network called `default`. [Learn about creating networks with Virtual Private Cloud](/vpc/docs/create-modify-vpc-networks#creating_networks). \n\n### Console\n\n1. To see information about an app, including its pricing, select the app.\n2. Click **Configure**.\n3. Select the Kubernetes cluster that you want to deploy the app to. If you\n want to create a new cluster, click **Create cluster**.\n\n | **Note:** If a cluster is marked ineligible, verify that you have permissions to deploy workloads to that cluster. For example, if a Google Distributed Cloud cluster is marked ineligible, verify that you've [set up access to your Google Distributed Cloud cluster](/marketplace/docs/kubernetes-apps/deploying-non-gke-clusters#deploy-onprem).\n4. Select or create a Namespace to use for the application.\n [Namespaces](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/)\n are a way to divide cluster resources among multiple users or teams.\n\n | **Note:** Namespaces with the `-system` suffix are reserved for GKE components. You cannot deploy applications to these namespaces.\n5. In the **App instance name** box, enter a name for the app, such as\n `sandbox-dev-app`. The name must be unique within the namespace.\n\n6. If you need to change the service account associated with the\n application's billing plan, expand **Advanced plan settings**, and verify\n the service account that is associated with the application.\n\n For information on billing plans for Kubernetes apps, see\n [Understanding Billing](/marketplace/docs/understanding-billing).\n7. Enter a name for your app instance, and then click **Deploy**.\n\n8. To manage, edit, or delete your deployment, open the\n GKE Applications page.\n\n [Go to the Applications Page](https://console.cloud.google.com/kubernetes/application)\n\n For information on what you can customize in the app, see the\n documentation provided by the software vendor.\n9. If the application needs to be accessible to external traffic, follow\n [these steps to expose the application as a Service](/kubernetes-engine/docs/how-to/exposing-apps).\n\n### Command Line\n\nYou can deploy a Kubernetes app to a Google Kubernetes Engine cluster, or to\nyour own infrastructure, such as a local installation of [Minikube](https://kubernetes.io/docs/setup/minikube/).\n\nTo deploy the app from the command line, you download a license file\nfrom Google Cloud. When you deploy the app using the steps below, you must\napply the license file to your `kubectl` config or Helm chart.\n\nDepending on the app provider, the specific steps to deploy the app might\nbe different. At a high level, you do the following:\n\n1. Connect to your Kubernetes cluster.\n2. Add the license file to your `kubectl` configuration or Helm chart, as applicable.\n3. Clone the Git repository for the app. The repository typically contains:\n\n - A `kubectl` configuration or\n Helm chart, which describes the Kubernetes resources for the app.\n\n If you want to customize the app, such as increasing the number\n of replicas, or changing the update strategy for application pods,\n edit the `kubectl` configuration or Helm chart.\n - An [Application resource](https://github.com/kubernetes-sigs/application),\n which defines the application's properties, such as the type of\n application, the version, maintainers, and so on.\n\n - Specific steps to deploy the application to your Kubernetes cluster.\n\n - Additional scripts or tools added by the provider.\n\n4. Verify the app's configuration and deploy the app.\n\n5. Following deployment, check for `ClusterRole` or `ClusterRoleBinding`\n resources labeled\n `app.kubernetes.io/component=deployer-rbac.marketplace.cloud.google.com`.\n If you find them, delete them."]]