You can select and deploy container-based applications from Google Cloud Marketplace to your Google Kubernetes Engine cluster.
To see the applications that you can install, in Cloud Console, open the GKE Applications page, and click Deploy from Google Cloud Marketplace.
To deploy an application to your cluster, follow these steps:
- To see information about an app, including its pricing, select the app.
- Click Configure.
Select the Kubernetes cluster that you want to deploy the app to. If you want to create a new cluster, click Create cluster.
Select or create a Namespace to use for the application. Namespaces are a way to divide cluster resources among multiple users or teams.
In the App instance name box, enter a name for the app, such as
sandbox-dev-app. The name must be unique within the namespace.
If you need to change the service account associated with the application's billing plan, expand Advanced plan settings, and verify the service account that is associated with the application.
For information on billing plans for Kubernetes apps, see Understanding Billing.
Enter a name for your app instance, and then click Deploy.
To manage, edit, or delete your deployment, open the GKE Applications page.
For information on what you can customize in the app, see the documentation provided by the software vendor.
If the application needs to be accessible to external traffic, follow these steps to expose the application as a Service.
You can deploy a Kubernetes app to a Google Kubernetes Engine cluster, or to your own infrastructure, such as a local installation of Minikube.
To deploy the app from the command line, you download a license file
from Google Cloud. When you deploy the app using the steps below, you must
apply the license file to your
kubectl config or Helm chart.
Depending on the app provider, the specific steps to deploy the app might be different. At a high level, you do the following:
- Connect to your Kubernetes cluster.
- Add the license file to your
kubectlconfiguration or Helm chart, as applicable.
Clone the Git repository for the app. The repository typically contains:
kubectlconfiguration or Helm chart, which describes the Kubernetes resources for the app.
If you want to customize the app, such as increasing the number of replicas, or changing the update strategy for application pods, edit the
kubectlconfiguration or Helm chart.
An Application resource, which defines the application's properties, such as the type of application, the version, maintainers, and so on.
Specific steps to deploy the application to your Kubernetes cluster.
Additional scripts or tools added by the provider.
Verify the app's configuration and deploy the app.