Exercise - Configure apps on Azure Kubernetes Service

Completed

In this exercise, you learn how to configure Kubernetes deployments with ConfigMaps for non-sensitive settings, Secrets for sensitive credentials, and PersistentVolumeClaims for persistent storage. You deploy a containerized API to Azure Kubernetes Service (AKS), configure it with various Kubernetes resources, and interact with it using a Python client application.

Tasks performed in this exercise:

  • Download the project starter files
  • Deploy resources to Azure (ACR, AKS cluster)
  • Build and push a container image to Azure Container Registry
  • Apply updated YAML files to AKS to create the pod and expose the API with a LoadBalancer
  • Run the client app to test the API endpoints
  • View API logs stored on persistent volume
  • Clean up Azure resources

This exercise takes approximately 30 minutes to complete.

Important

Azure Container Registry task runs are temporarily paused from Azure free credits. This exercise requires a pay-as-you-go, or another paid plan.

Before you start

To complete the exercise, you need:

Get started

Select the Launch Exercise button to open the exercise instructions in a new browser window. When you're finished with the exercise, return here to:

  • Complete the module
  • Earn a badge for completing this module

Button to launch exercise.