Add a couple of Kubernetes questions and exercises

In addition, changed the order of some Linux questions.
This commit is contained in:
abregman
2021-09-05 00:59:55 +03:00
parent e4f73b1edf
commit 891c9c69fe
7 changed files with 480 additions and 171 deletions

View File

@ -0,0 +1,14 @@
## ReplicaSet 103
#### Objective
Learn how labels used by ReplicaSets
#### Instructions
1. Create a ReplicaSet with 2 replicas. Make sure the label used for the selector and in the Pods is "type=web"
2. Verify a ReplicaSet was created and there are 2 replicas
3. List the Pods running
4. Remove the label (type=web) from one of the Pods created by the ReplicaSet
5. List the Pods running. Are there more Pods running after removing the label? Why?
6. Verify the ReplicaSet indeed created a new Pod