Challenge 04 - Your First Deployment

< Previous Challenge - Home - Next Challenge >

Introduction

Now the rubber meets the road…. we will be deploying the application to our newly minted cluster and making sure it works as intended. You’ll learn about pods, deployments and services, oh my!

Description

In this challenge we need to get our application up and running in Kubernetes. We will learn about Kubernetes configuration YAML files used to create the various Kubernetes resources that will be needed to run our app. We will give our containers resource requests and open the app up to the outside world so we can test it.

NOTE: If you have not or could not deploy your containers to the Azure Container Registry, we have staged the FabMedical apps on Docker Hub at these locations:

HINT: If you decide to use your own ACR with the images for content-api and content-web, you must fully qualify the name of your ACR. An image with a non-fully qualified registry name is assumed to be in Docker Hub.

Deploy the API app from the command line using kubectl and YAML files:

Deploy the Web app from the command line using kubectl and YAML files

Success Criteria

  1. Verify you have the content-api container image deployed and can get data from the /speakers endpoint.
  2. Verify you have the content-web container deployed and can access its page from the open internet.
  3. Verify the /speakers and /sessions pages display speakers and sessions respectively, not just blank pages.

Learning Resources