We will be going over some higher-level abstractions available to us in Kubernetes. Make sure you have read the slides before going through this to have a general understanding.
This guide will go over Workloads, the higher-level Kubernetes objects that manage pods, or other higher-level objects.
Make sure you have read the slides before going through this to have a general understanding.
-
Copy the starter code from here into a new, private repository in your personal GitHub account. When adding a collaborator, be sure to add the instructor ("CSCC-Instructor").
-
You need minikube up and running. See minikube start for installation instructions.
-
Start minikube using the command:
$ minikube start
-
Please ensure your minikube namespace is completely clean. You can do it using the
kubectl delete <resource> <name>
command or go with the scorched earth method and run ...$ minikube stop $ minikube delete $ minikube start
This repository contains five exercises/tasks. Do them in order.
- replica_set
- deployment
- daemon_set
- stateful_set
- jobs
Within each directory, there is a readme with the exercise. Follow the directions and update (if required) the provided manifest in each task directory under manifests. There is also a worksheet in each directory that you will use to record information and answer questions while doing the exercise.
- Create a new private repository from this template.
- Add your instructor as a collaborator.
- Clone your new private repo to your Columbus State Community College virtual machine.
Go through each of the directories provided, and complete the tasks. You will update the manifests and record any questions asked in provided files within each directory. We provided the general manifest structures that you will update as described in the directions.
Once you are ready to submit:
- Add, commit, and push your changes to GitHub.
- Create a pull request.
- Request a review from your instructor.
-
From the command line at the root directory of your project execute the following command:
git bundle create firstname-lastname-IA-title-lab-date.bundle --all
NOTE: firstname and lastname are your first and last names, and date is in the format of mmddyyyy
-
Submit your lab solution in Blackboard with the link to your Pull Request as well as the bundle file you just created.