Configura il deployment dell'app Kubernetes Terraform
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Offri app Kubernetes Terraform tramite Google Cloud Marketplace come grafici Helm,
che i clienti utilizzano per eseguire il deployment delle tue app. Dopo aver caricato il grafico Helm della tua app in Artifact Registry, utilizza Producer Portal per configurare il deployment dell'app e inviarlo per la revisione.
Prima di iniziare
Crea un repository Git pubblico per i file di configurazione, la guida per l'utente e
altre risorse per eseguire l'app. Puoi ospitare il repository con un provider
come GitHub, Cloud Source Repositories o sul tuo server. Ti
consigliamo un repository dedicato per ogni prodotto che
distribuisci.
Verifica di aver
preparato l'app Terraform Kubernetes
per Cloud Marketplace, incluso il caricamento del grafico Helm dell'app in
Artifact Registry e del modulo Terraform in Cloud Storage.
Configura il grafico Helm e le immagini container della tua app
Specifica il grafico Helm e le immagini container della tua app in
Producer Portal.
Puoi offrire più release, o versioni, della tua app tramite
Cloud Marketplace e consentire agli utenti di scegliere tra le
release disponibili. Per specificare le release della tua app:
In Producer Portal, nella scheda Configurazione del deployment,
in Release dell'immagine, fai clic su Specifica release.
Nella sezione Nuova release, aggiungi le seguenti informazioni:
Un tag di visualizzazione, che deve corrispondere al tag del grafico Helm
corrispondente che hai caricato in Artifact Registry.
Un titolo della versione, che Cloud Marketplace mostra agli utenti.
Una breve descrizione che spiega in che modo questa release si differenzia dalle altre
disponibili.
Per Modulo, specifica la posizione di Cloud Storage del modulo Terraform corrispondente per questa release.
Per ogni release aggiuntiva da aggiungere, fai clic su Aggiungi release e
poi completa i passaggi precedenti.
Per Release predefinita, seleziona la release che deve essere la release predefinita
per la scheda Cloud Marketplace della tua app.
Fai clic su Salva e convalida.
Dopo aver fatto clic su Salva e convalida, Cloud Marketplace esegue automaticamente
test di convalida sulle tue release. Nella sezione Versioni proposte, viene visualizzata una breve
descrizione dell'avanzamento dei test di convalida, inclusa una stima
del tempo necessario per il completamento. La convalida prevede test per garantire
che il modulo Terraform fornito venga eseguito correttamente terraform plan.
Prima di poter pubblicare le release su Cloud Marketplace, queste devono superare la convalida.
Passaggi successivi
Pubblica il tuo prodotto su Cloud Marketplace.
Per pubblicare il tuo prodotto, invii varie parti del prodotto per la revisione. Il team di Cloud Marketplace esamina ogni invio e collabora
con te per risolvere eventuali problemi prima di approvarlo. Una volta approvate tutte le
invii, puoi pubblicare e lanciare il prodotto in pochi
minuti.
[[["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,["# Configure your Terraform Kubernetes app's deployment\n\nYou offer Terraform Kubernetes apps through Google Cloud Marketplace as Helm charts,\nwhich customers use to deploy your apps. After you've uploaded your app's Helm\nchart to Artifact Registry, use Producer Portal to configure your app's\ndeployment and submit it for review.\n| **Note:** If you have questions during the onboarding process, talk to your Cloud Marketplace Partner Engineer. If you don't know who your assigned Partner Engineer is, use the [Google Cloud Support Portal](https://g.co/cloud/psd-partner) to request assistance, and include the word \"Marketplace\" in your description. For more information about the Google Cloud Support Portal, visit [Request assistance with Cloud Marketplace](/marketplace/docs/partners/get-support).\n\nBefore you begin\n----------------\n\n- Create a public Git repository for the configuration files, user guide, and other resources to run your app. You can host the repository with a provider such as GitHub, Cloud Source Repositories, or on your own server. We recommend a dedicated repository for each product that you're distributing.\n- Verify that you've [prepared your Terraform Kubernetes app](/marketplace/docs/partners/kubernetes/set-up-environment) for Cloud Marketplace, including uploading your app's Helm chart to Artifact Registry and Terraform module to Cloud Storage.\n\nConfigure your app's Helm chart and container images\n----------------------------------------------------\n\nSpecify your app's Helm chart and container images in\nProducer Portal.\n\nFor steps to upload a Helm chart to Artifact Registry, see\n[Prepare your Terraform Kubernetes app](/marketplace/docs/partners/terraform-kubernetes/set-up-environment).\n\n### Specify your app's Helm chart\n\nTo specify your app's Helm chart, complete the following steps:\n\n1. In Artifact Registry, navigate to the Helm chart that you want to use.\n2. Click to copy your Helm chart's URL.\n3. In Producer Portal, in the **Deployment configuration** tab, for **Specify Helm chart**, paste your Helm chart's URL.\n\nThe format of your Helm chart's URL should be as follows: \n\n us-docker.pkg.dev/\u003cvar translate=\"no\"\u003ePROJECT_NAME\u003c/var\u003e/\u003cvar translate=\"no\"\u003ePRODUCT_NAME\u003c/var\u003e/\u003cvar translate=\"no\"\u003eCHART_NAME\u003c/var\u003e\n\n### Specify your app's releases\n\nYou can offer multiple *releases*, or versions, of your app through\nCloud Marketplace, and let your users select between the available\nreleases. To specify your app's releases, complete the following steps:\n\n1. In Producer Portal, in the **Deployment configuration** tab, under **Image release** , click **Specify releases**.\n2. Under **New release** , add the following information:\n - A *display tag*, which should match the tag of the corresponding Helm chart that you uploaded to Artifact Registry.\n - A *version title*, which Cloud Marketplace shows to your users.\n - A short *description*, which explains how this release differs from other available releases.\n3. For **Module**, specify the Cloud Storage location of the corresponding Terraform module for this release.\n4. For each additional release that you want to add, click **Add release** and then complete the previous steps.\n5. For **Default release**, select which release should be the default release for your app's Cloud Marketplace listing.\n6. Click **Save and validate**.\n\nAfter you click **Save and validate** , Cloud Marketplace automatically runs\nvalidation tests on your releases. Under **Proposed releases** , you see a brief\ndescription of the progress of the validation tests, including an estimate of\nhow long they might take to complete. Validation involves testing to ensure\nthat the provided Terraform module successfully runs `terraform plan`.\n\nYour releases must pass validation before you can publish them to\nCloud Marketplace.\n\nWhat's next\n-----------\n\n- [Publish your product to Cloud Marketplace](/marketplace/docs/partners/terraform-kubernetes/publish). To publish your product, you submit various parts of your product for review. The Cloud Marketplace team reviews each submission and works with you to resolve any issues before approving it. When all of your submissions are approved, you can publish and launch the product within a few minutes."]]