Maintaining your product

Stay organized with collections Save and categorize content based on your preferences.

This page describes the guidelines for maintaining and updating your product after it is live on Google Cloud Marketplace.

Managing updates for your app

The process for updating your product is similar to creating your initial app package. First, you must generate a new set of container images for the update, and push them to your Container Registry staging repository. Depending on whether you are adding a new version or updating an existing version, use the steps below to update your app.

Adding a new version

In your Container Registry staging repository, tag your app images with a new minor version tag. Then, follow the steps to submit your app in Producer Portal.

Updating an existing version

In your Container Registry staging repository, tag your images with the current minor version tag. Then, use the steps below to update the app in Producer Portal.

  1. Open Producer Portal in the Google Cloud console:

    https://console.cloud.google.com/producer-portal?project=YOUR_PUBLIC_PROJECT_ID
    

    Replace YOUR_PUBLIC_PROJECT_ID with the ID for the public project that you created for Google Cloud Marketplace—for example, my-organization-public.

  2. In the list of products, click the product ID.

  3. On the Overview page of your product, go to the Container images section, and click Edit.

  4. By Proposed Releases, click Edit. It might take a few seconds to read the repository and load your tags.

  5. Click the release that you want to update.

  6. In Display tag, select the release that uses the corresponding digest to the image you updated in your Container Registry.

  7. After you've updated all the information for the release, click Done.

  8. When you're done adding supported releases to your product, click Save and Validate.

  9. Click Submit to submit the container images for review.

  10. After all reviews have been approved, you can publish and launch the product by opening the Overview page of your product, and clicking Publish.

As with initial submission, the Google Cloud Marketplace team performs automated testing and reviews your submission.

After the updated version is published, it becomes the default for new customers. Current customers will see new images pushed to existing tags. Deployments from the Google Cloud Marketplace product page are always pinned to image digests, and are not automatically updated. We also recommend pinning images to digests for customers who deploy your app through the command line.

To help your users update their app images, we recommend adding the upgrade steps to your user guide.

Migrating off of deprecated Kubernetes APIs

As Kubernetes APIs evolve, old APIs are eventually deprecated and removed. This means that your app can become incompatible with current GKE clusters. Typically existing objects are persisted, so customers' running deployments are unaffected.

To prevent failures in new app deployments:

  1. Review the current GKE versions in the GKE release notes and upcoming versions in the GKE release schedule.
  2. Update your app manifests to remove any dependencies on deprecated Kubernetes API versions which are removed in any current or upcoming GKE versions in the Regular or Stable channel. Refer to the Kubernetes deprecated API migration guide.
    • For example, update uses of the batch/v1beta1 CronJob to batch/v1, as batch/v1beta1 will be removed in Kubernetes version 1.25, according to the guide.
    • If you're unable to update the manifests for earlier releases of your app, we recommend removing the release or setting the k8sVersion cluster constraint in your schema.
  3. Complete testing of all rebuilt container images using the mpdev tool, ideally on a cluster with a Kubernetes version that doesn't support the deprecated API you're removing.
    • For example, use a Kubernetes version 1.22 cluster to test updating from the apiextensions.k8s.io/v1beta1 CustomResourceDefinition, which was removed in Kubernetes version 1.22.
  4. Follow the instructions for Adding a new version or Updating an existing version to submit your changes in the portal.

Pricing changes

Pricing changes take effect after a certain waiting period, and are not immediate. For specifics, refer to your contract.

  1. Open Producer Portal in the Google Cloud console:

    https://console.cloud.google.com/producer-portal?project=YOUR_PUBLIC_PROJECT_ID
    

    Replace YOUR_PUBLIC_PROJECT_ID with the ID for the public project that you created for Google Cloud Marketplace—for example, my-organization-public.

  2. In the list of products, click the product ID.

  3. On the Overview page of your product, go to Pricing review, and click Edit.

  4. Make any changes to your pricing.

  5. Click Submit to submit the pricing for review.

  6. After all reviews have been approved, you can publish and launch the product by opening the Overview page of your product and clicking Publish.

Deprecating apps

As you develop your software, you might want to make certain releases unavailable on Google Cloud Marketplace.

Removing an app release

When you remove a release from your product, it is immediately removed from the product details page when the product is published. However, removing a release does not remove the images published to the public Container Registry.

  1. Open Producer Portal in the Google Cloud console:

    https://console.cloud.google.com/producer-portal?project=YOUR_PUBLIC_PROJECT_ID
    

    Replace YOUR_PUBLIC_PROJECT_ID with the ID for the public project that you created for Google Cloud Marketplace—for example, my-organization-public.

  2. In the list of products, click the product ID.

  3. On the Overview page of your product, go to the Container images section, and then click Edit.

  4. Next to Proposed Releases, click Edit. It might take a few seconds to read the repository and load your tags.

  5. Highlight the release that you want to remove.

  6. Click Delete to remove the version.

  7. Click Done.

  8. When you're done removing releases to your product, click Save and Validate.

  9. Click Submit to submit the container images for review.

  10. After all reviews have been approved, you can publish and launch the product by opening the Overview page of your product, and clicking Publish.