Skip to content

ENSF 400 - Software Engineering Industry Practices and Communication - Lab 8 - Kubernetes (2)

Notifications You must be signed in to change notification settings

BradViv/ensf400-lab8-kubernetes-2

 
 

Repository files navigation

ensf400-lab8-kubernetes-2

Objectives

This lab will teach us the scheduling, configmaps, canary and blue-green deployment strategies of Kubernetes. Through Minikube, a simplified Kubernetes engine running on a single computer, we practice the key concepts and usage of Kubernetes.

Environment

Set Up Your GitHub CodeSpaces Instance

Same as Lab 6, this lab will be performed in GitHub CodeSpaces. Create an instance using GitHub Codespaces. Choose repository denoslab/ensf400-lab8-kubernetes-2.

$ minikube start --nodes 3 -p ensf400

This step will start the Minikube service with 3 virtual nodes, stored in a profile called ensf400. If for some reason your Codespaces instance was stopped (e.g., not using it for a while). You can restart the minikube service using this profile by running:

$ minikube start -p ensf400

Steps

Go to Section 7 - 10 and complete the steps for each section. The steps can be found in the README.md files in each subdirectory.

Have Your Work Checked By a TA

The TA will check the completion of the following tasks:

  • Output of Section 7.
  • Output of Section 8.
  • Output of Section 9.
  • Output of Section 10.

Each member of the group should be able to answer all of the following questions. The TA will ask each person one question selected at random, and the student must be able to answer the question to get credit for the lab.

  • Q1: Explain the scheduling strategy of Node Affinity and the scenarios to use it.
  • Q2: Explain the scheduling strategy of Pod Anti-Affinity and the scenarios to use it.
  • Q3: Explain the deployment strategy of blue-green deployment. How to switch between the two versions of deployments?
  • Q4: Explain the deployment strategy of canary deployment. How to adjust the ratio of users getting serviced by the canary deployment?

About

ENSF 400 - Software Engineering Industry Practices and Communication - Lab 8 - Kubernetes (2)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%