You can either use an existing namespace, or create a new one:
Deploy the marketplace app using the command line
You can either set the configuration payload with customized
parameter values
or use a set of default values for easy copy-pasting. If you would like to
use customized parameter values choose Option A, below. Otherwise, use the
default values in Option B.
Option A: Configuration payload with customized values:
Check to see if the deployment is ready (this can take several minutes the
first time it's run). The number of READY pods should match your chosen
$REPLICA value.
kubectl get deployment $NAME --namespace $NAMESPACE
For example:
What's next
Learn how to send a query to the
Speech-to-Text On-Prem API.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Quickstart: Deploy the API\n\n| **Private feature** \n| This product is a private feature. The documentation is publicly available but you must [contact Google](https://cloud.google.com/contact) for full access.\n\nPrerequisites\n-------------\n\n1. Complete all required steps in the [before you begin](/speech-to-text/priv/docs/before-you-begin) quickstart.\n\nDeploy the API using the marketplace app UI\n-------------------------------------------\n\n1. Navigate to the [on-prem solution](https://console.cloud.google.com/marketplace/details/speech-onprem/speech-to-text-on-prem)\n and enter your [chosen configuration values](/speech-to-text/priv/docs/configurations):\n\n2. You can either use an existing namespace, or create a new one:\n\n| **Note:** For instructions on deleting or uninstalling the On-Prem solution, see [manage your Speech-to-Text On-Prem solution](/speech-to-text/priv/docs/manage).\n\nDeploy the marketplace app using the command line\n-------------------------------------------------\n\n1. You can either set the configuration payload with customized\n [parameter values](/speech-to-text/priv/docs/configurations)\n or use a set of default values for easy copy-pasting. If you would like to\n use customized parameter values choose Option A, below. Otherwise, use the\n default values in Option B.\n\n 1. **Option A**: Configuration payload with customized values:\n\n PARAMETERS='{\n \"name\": \"'$NAME'\",\n \"namespace\": \"'$NAMESPACE'\",\n \"asr.publicIP\": \"'$PUBLIC_IP'\",\n \"asr.cpu\": '$CPU',\n \"asr.memory\": \"'$MEMORY'\",\n \"reportingSecret\": \"reporting-secret\",\n \"asr.image\": \"gcr.io/cloud-marketplace/speech-onprem/speech-to-text-on-prem:'$VERSION'\",\n \"configure.image\": \"gcr.io/cloud-marketplace/speech-onprem/speech-to-text-on-prem/configure:'$VERSION'\",\n \"asr.metric_project_id\": \"'$METRIC_PROJECT'\",\n \"asr.gsa_secret\": \"'$GSA_SECRET'\",\n \"istio.enabled\": \"'$ENABLE_ISTIO'\",\n \"configure.model1\": \"'$MODEL1'\",\n \"configure.model2\": \"'$MODEL2'\",\n \"configure.model3\": \"'$MODEL3'\"\n }'\n\n 2. **Option B**: Default configuration payload:\n\n PARAMETERS='{\n \"name\": \"speech\",\n \"namespace\": \"speech\",\n \"reportingSecret\": \"reporting-secret\",\n \"asr.image\": \"gcr.io/cloud-marketplace/speech-onprem/speech-to-text-on-prem:'$VERSION'\",\n \"configure.image\": \"gcr.io/cloud-marketplace/speech-onprem/speech-to-text-on-prem/configure:'$VERSION'\",\n \"asr.metric_project_id\": \"$METRIC_PROJECT\",\n }'\n\n2. Select a version :\n\n VERSION=1.0\n\n3. For On-Prem clusters, run the below command($KUBECONFIG is the path of the yaml file of the user cluster):\n\n export KUBE_CONFIG=${KUBECONFIG}\n\n4. Run the deploy command:\n\n mpdev /scripts/install --deployer=gcr.io/cloud-marketplace/speech-onprem/speech-to-text-on-prem/deployer:$VERSION\n --parameters=\"$PARAMETERS\"\n\n5. Check to see if the deployment is ready (this can take several minutes the\n first time it's run). The number of **READY** pods should match your chosen\n $REPLICA value.\n\n kubectl get deployment $NAME --namespace $NAMESPACE\n\n For example:\n\nWhat's next\n-----------\n\nLearn how to [send a query](/speech-to-text/priv/docs/query) to the\nSpeech-to-Text On-Prem API."]]