This page is a supplemental guide to the container readme for each Google Cloud Marketplace container product. It provides additional information for deploying a container to a brand new Google Kubernetes Engine cluster or to a local Minikube cluster. It also provides links for using Docker.
Deploy a container
The following sections describe how to deploy to Kubernetes and to Docker.
Deploy to Kubernetes
There are two methods to deploy containers to Kubernetes. You can deploy to Google Kubernetes Engine, or locally to your machine using Minikube. Both methods are described below.
Deploy to Google Kubernetes Engine
Install the required tools
Follow the steps in the Quickstart for Google Kubernetes Engine. These steps will help you setup your environment withgcloud
andkubectl
.Verify that
kubectl
can connect to the clusters
After your environment is set up, verifykubectl
can reach the clusters you created. You can run the following to see if your nodes are running:kubectl get nodes
Follow the getting started documentation for the container in the Kubernetes section
Each container product on Cloud Marketplace contains a getting started guide. You can access the container getting started document by selecting the container you want to deploy from the Google Cloud console, and then clicking the Get Started with {product name} button near the top of the page.
Deploy to Minikube
Install the required tools
Follow the steps in the Minikube Setup guide. These steps will help you setup a local Minikube environment. After minikube start in the linked instructions, you can then follow the instructions below.Verify that
kubectl
can connect to the clusters
While Minikube is running (after runningminikube start
), you can use the following command to check if your nodes are running:kubectl get nodes
Follow the getting started documentation for the container in the Kubernetes section
Each container product on Cloud Marketplace contains a getting started guide. You can access the container getting started document by selecting the container you want to deploy from the Google Cloud console, and then clicking the Get Started with [product_name] button near the top of the page.
Deploy to Docker
Install Docker
To deploy a container to Docker, first install Docker on your local machine or virtual machine. The Docker installation guide is available from the Docker website.
Follow the steps in the getting started guide
Each container product on Cloud Marketplace contains a getting started guide. You can access the container's getting started guide by selecting the container you want to deploy from the Google Cloud console and then clicking the Get Started with [product_name] button near the top of the page.