Lab: Deploying a request splitting ambassador with NGINX and Kubernetes on AKS
In this lab we'll guide you through the steps to deploy a request splitting ambassador that will split 10% of the incoming HTTP requests to an experimental server and the rest to a primary web server using Azure Kubernetes Service (AKS). This pattern is commonly used for testing new features or user experience to a small subset of users.
Estimated time required to complete: 1 hours, 20 minutes
You will have access to this environment for 3 hours, 30 minutes
Learning Credits Required: 10
Who this lab is designed for
Understand how to implement the request splitting ambassador pattern with Azure Kubernetes Service (AKS)
Basic understanding of containers and Kubernetes
Exercise 1: Login to the Azure Management Portal
In this exercise, you will login to the Azure Portal with your lab credentials.
Exercise 2: Deploy an Azure Kubernetes Service (AKS) cluster
In this exercise, an AKS cluster is deployed using the Azure CLI that will be used for deploying the sample application.
Exercise 3: Implementing the main web server
In this exercise, you will deploy the main web server that will accept 90% of the traffic for the application.
Exercise 4: Create a Deployment in Kubernetes
In this exercise, you will create a simple load balancing service that returns a fixed string for an HTTP request. In the previous steps you learned how to create a custom NGINX configuration to return a fixed string from an NGINX implementation and how to create a ConfigMap that can be read by Kubernetes when deploying your service.
Exercise 5: Test and Debug the Kubernetes Pod Deployment
In this exercise, you will learn how to test your deployment as well as common commands to run to view logs and further debug your Kubernetes Pod Deployment.
Exercise 6: Monitoring
In this exercise, you will learn how to monitor your deployment.
Login to Start Lab
Not Registered?Already Registered?
Real Time Labs allow you to learn technology in an isolated environment without the hassle or cost of setting up a dedicated learning environment.