Deploying container images from Google Cloud Marketplace to Kubernetes or Docker

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

  1. Install the required tools
    Follow the steps in the Quickstart for Google Kubernetes Engine. These steps will help you setup your environment with gcloud and kubectl.

  2. Verify that kubectl can connect to the clusters
    After your environment is set up, verify kubectl can reach the clusters you created. You can run the following to see if your nodes are running:

     kubectl get nodes
    
  3. 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

  1. 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.

  2. Verify that kubectl can connect to the clusters
    While Minikube is running (after running minikube start), you can use the following command to check if your nodes are running:

     kubectl get nodes
    
  3. 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

  1. 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.

  2. 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.