Skip to content

Mastering Container offers for Kubernetes apps

This course covers transactable container offers designed for deploying solutions into Azure Kubernetes Service within the customer's subscription. With a focus on practical demonstrations, this course provides a comprehensive understanding of the offer type, from overview to in-depth insights.

Notices about this course

❗This course references the ARM template cluster-deployment.json in many places. Although using this filename will work, the recommended filename is mainTemplate.json by convention. The videos linked from this page were created before the recommended change in filename.

👩‍💻 Terminal commands used in the demos throughout this course are available here.

  1. Container offer for Kubernetes apps overview
  2. Container offer billing overview
  3. Container offer technical overview
  4. Deploying solution images to an Azure Container Registry
  5. Scanning container images for vulnerabilities
  6. Preparing CNAB bundle artifacts
  7. Generating the CNAB bundle
  8. Create a container offer in Partner Center
  9. Create a container offer plan in Partner Center
  10. Subscribe to a Kubernetes app in the Commercial Marketplace
  11. Unsubscribe from a purchased Kubernetes app
  12. Securing virtual machines and containers for certification
  13. Hands-on labs 🧪

Container offer for Kubernetes apps overview#

Video | PDF

This video introduces Container Offers for Kubernetes Applications, a transactable offer type in the Azure Marketplace. After viewing this module you’ll understand the terminology used in this marketplace offer type and gain a deeper understanding of publishing one. Present in this module are the following sections.

  • About the offer type
  • Benefits of the offer type
  • Container offers in the marketplace

Container offer billing overview#

Video | PDF

How to price and bill your solution is such a commonly visited topic that we’re providing a quick module on the subject. In this module you’ll learn about transactable offers, the pricing models for container offers, and the nomenclature of offers and plans.

Container offer technical overview#

Video | PDF

This module provides a comprehensive technical overview of Container offers for Kubernetes apps. Topics include the following.

  • The development lifecycle
  • About CNAB bundles
  • Packaging the artifacts
  • Deploying the final product

Deploying solution images to an Azure Container Registry#

Video

This hands-on demo introduces the application to be throughout the course and shows preparing an Azure Container Registry. Finally, you’ll see how to push your solution’s images to your own ACR. Sections include the following.

  • Set up an ACR for use with the marketplace
  • Run the demo application
  • Push application images to an ACR

Scanning container images for vulnerabilities#

Video

In this comprehensive demo you’ll learn how to identify vulnerabilities in your images that can prevent your Container offer from passing certification. Not only will you see Microsoft Defender for Cloud in action, but you’ll see how to patch a container and prepare its’ image for publication to an ACR so that it no longer contains vulnerabilities.

Preparing CNAB bundle artifacts#

Video

In this hands-on module, learn about the artifacts needed to create your final CNAB bundle. This video explores what they are and looks at some details in each. You’ll see the following.

  • Solution files
  • Helm chart
  • K8s deployment files
  • Marketplace deployment files
  • The CNAB manifest

Generating the CNAB bundle#

Video

This module demonstrates the process of creating a CNAB bundle for publication to the Microsoft commercial marketplace. This video is primarily on the command line and shows using the publicly available CNAB bundling tool available from the Microsoft public Azure Container Registry.

Create a container offer in Partner Center#

Video

In this all-demo module, you’ll see what is needed to create a Container Offer in Partner Center. The demo walks through all sections of creating an offer except for creating plans. Plan creation is shown in the next video of the course.

Create a container offer plan in Partner Center#

Video

This module focuses on creating a plan within an already existing offer. This hands-on demo walks through setting up a new plan in Partner Center including the technical configuration of the plan, in which we map the CNAB bundle to the new plan.

Subscribe to a Kubernetes app in the Commercial Marketplace#

Video

In this brief demo, you see how customers purchase a Kubernetes app and deploy it into their K8s cluster. You’ll see the process from marketplace to deployed and running application.

Unsubscribe from a purchased Kubernetes app#

Video

In this walkthrough video, you’ll see how to get rid of an application you may have purchased, and stop being billed for that app. We use the command line with the az CLI and KubeCtl to perform these operations.

Securing virtual machines and containers for certification#

Video | PDF

The last thing you want is to create and publish an offer only to have it fail Microsoft’s certification process. This module provides important tips and effective practices for securing virtual machines and containers before publication to the Azure Marketplace, so your offer makes it through certification the first time.

Hands-on labs#

To perform the hands-on labs, visit this GitHub repository, which is home to the Mastering the Marketplace labs.